Bug#362422: FTBFS with GCC 4.2: the address of 'hwparams' will
always evaluate as 'true'
Martin Michlmayr
tbm at cyrius.com
Tue May 16 14:01:24 UTC 2006
* Samuel Mimram <smimram at debian.org> [2006-05-15 20:20]:
> $ gcc -Werror -Wall test.c -o test
> cc1: warnings being treated as errors
> test.c: In function 'main':
> test.c:6: warning: the address of 'hwparams', will always evaluate as 'true'
> Should I reassign this to gcc, or is it a bug in linphone (should I
> remove the -Werror)?
I'll try to find out whether it's the former, but in the case it's the
latter you could just use:
-Werror -Wall -Wno-always-true
which will only ignore this particular warning.
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Pkg-voip-maintainers
mailing list