Reputation: 29116
I have hundred of warnings like this when build with gcc
:
foo.c:2690:5: note: in expansion of macro ‘PUT_UINT32’
PUT_UINT32(state, digest, 0);
How can I get rid of them?
-w
also hide warnings that I still want to see
Upvotes: 9
Views: 71744
Reputation: 144951
I assume you are using clang
: when clang
detects an error or a warning in code expanded from a macro, it outputs one line for each macro whose expansion leads to the offending code. Fix the errors and warnings in the final code and these messages will disappear.
Upvotes: 8