3 ms·
A tiny comparison: -Wall -pedantic gives me: warning: C++ style comments are not allowed in ISO C90 warning: ISO C90 forbids mixed declarations and code -
by sp332 13y ago
A tiny comparison: -Wall -pedantic gives me:
warning: C++ style comments are not allowed in ISO C90
warning: ISO C90 forbids mixed declarations and code
-Wall -Wextra gives me:
warning: unused parameter ‘type’
For me, -Wextra is much more useful for finding messy code.
- TeMPOraL 13y agoUse both of them. The last warning is about messy code, but the first two will help you keep the code portable.