Not -Werror considered harmful
It misses the big con for me:<p>It means your code may fail to compile on future compilers using your provided build scripts. Since C doesn&#x27;t have a method of enforcing a specific compiler version like newer languages, that&#x27;s a use case you need to prepare for.<p>The most recent example I was bitten for with this was with the vendored version of ring used in the redox project. My system had GCC 11, which added a new warning for mixing array and pointer syntax between a function declaration and function definition.