
On 17-3-2014 6:21, Krzysztof KosiĆski wrote:
2014-03-16 19:24 GMT+01:00 Johan Engelen <jbc.engelen@...2592...>:
Hi all, Can someone tell me where to add compiler warning/error flags for Makefile users? (On Windows, I know)
Am going to slowly activate erroring on specific warnings.
configure.ac lines 92-101 have an example. You can either copy this or add more -Werror to this test.
Thanks.
Wow... some of the tests in configure.ac are ridiculous: "# -Wno-pointer-sign is probably new in gcc 4.0; certainly it isn't accepted # by gcc 2.95."
2.95? Seriously?
I will just add -Werror=... thingies to the test you refered to. If the compiler doesn't take any of them, that is an error by itself. No need to add 10 (!!!!!) lines per warning flag.
cheers, Johan