Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
comex
5mo ago
0 comments
Share
It does work in GCC to suppress unused variable warnings. Just not for function calls I guess.
0 comments
default
newest
oldest
cminmin
5mo 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.
j
/
k
navigate · click thread line to collapse