From: Eduardo P. H. <eha...@co...> - 2005-08-16 17:50:09
|
Hi, On Tue, Aug 16, 2005 at 07:40:08PM +0200, David Eriksson wrote: > Armin & others, >=20 > I suggest that -Werror is removed from all Makefile.am files in > OpenSync/libsyncml. >=20 > This will prevent unneccessary support requests for compilation problems > caused by stricted compilers (gcc4 :-) -- I have had a fair share of > those in SynCE for this reason! >=20 > For developers, the same effect as having -Werror in Makefile.am can be > attained by setting the CFLAGS environment variable to -Werror before > running ./configure.=20 I agree that users doesn't need -Werror. I use CFLAGS to set lots of debugigng flags, and I can set -Werror there, too. Unless we make sure that the code work with the most-pedantic-compiler out there, then maybe we can keep the flag. If we aren't able to make it compile without warnings on gcc4, I think we should remove -Werror it until we avoid these warnings. >=20 > (In order for this to work, it must be made sure that AM_CFLAGS and not > CFLAGS is used Makefile.am for this to work properly, but I don't think > this is an issue with OpenSync! :-) I guess that this is not a problem. :) --=20 Eduardo |