Reputation: 7807
I like the -Werror
"Treat warnings as errors" cflag but I also like to use warning pragmas as a reminder to fix up things after compiling but before committing my changes. Is there a way to use both as the same time?
Upvotes: 1
Views: 255
Reputation: 7807
@SteveMoser you can put -Wno-error=#warnings in your cflags and they’ll be relaxed back down to warnings. (Which is exactly what we do, project-wide)
Upvotes: 1