> > Recently, I converted the project over to using Autotools and am > > wondering if there is a portable way to instruct automake to generate > > Makefiles that build code while treating all encountered warnings as > > errors? > Probably so, and I'm sure Ralf will know what it is. However, this is > usually not a very good idea. You have no idea what compiler someone's > going to be using or what warnings it will throw. For instance, passing
By the way, including -Werror in CFLAGS at configure time breaks several automake and autoconf tests. This is a shame, but I suppose it will be almost impossible to make all tests warning-free. -- Salu2
