Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
comex
· 11mo ago · 0 comments
It does work in GCC to suppress unused variable warnings. Just not for function calls I guess.
Comments
[–]
cminmin
11mo ago
__attribute__((maybe_unused)) or [[maybe_unused]] or such things (dependin on ur spec version i guess?) can be used not to disable a whole line of errors.