Feb. 28, 2017
4:27 p.m.
On 02/28/2017 07:59 AM, Andreas Stieger wrote:
If ALL_STATE is not defined, the address of gmtcheck always evaluates to true.
It's valid C code and does the right thing, so this warning is a false positive. To compile without warnings with a recent GCC, you can use: make CFLAGS='$(GCC_DEBUG_FLAGS)' Other compilers (and older versions of GCC) may need other options. In general the code doesn't bother trying to silence all the warnings generated by all the world's C compilers, as the job would be endless and we might even have dueling compilers. Of course we should continue to fix real bugs and obvious howlers found by clever new compilers.