From: Armin B. <arm...@de...> - 2005-08-17 09:00:08
|
I dont think this is a good idea. After all the warnings are supposed to help us by warning us of a possible problem. So i think its better if we go the hard way and just fix these compilation problems. Ill just install gcc4 here so i get these warnings as well so i can fix them David Eriksson wrote: > Armin & others, > > I suggest that -Werror is removed from all Makefile.am files in > OpenSync/libsyncml. > > 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! > > 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. > > (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 took a quickl look and im using AM_CFLAGS everywhere so this should already work. But like i said i think its better to use -Werror. |