|
|
|
|
|
by jbk
4480 days ago
|
|
This is probably an unpopular opinion, but: -Werror
is fine on your dev machine, but is a very bad idea in the official build system, notably if you do it for a library that you want people to use.As soon as you want to compile with various compilers, systems, use cross-compilation and other funny things that makes it portable, you're going to have a bad time. New compilers will make new warnings, old compilers will make new warnings, clang and gcc have different warnings. Different distributions with gcc compiled with different flags will make different warnings too! And of course, I don't mention libraries (or Mingw) that will always warn because of warnings inside their headers (I'm looking at you Fribidi). |
|