On Tuesday, 12 de April de 2005 21:07, Matthieu Fertré wrote: > Hello Isaac, > > can you modify the script for autotools to use the flags -Wall -Werror > by default ? You just need to add -Werror in this line: CXXFLAGS="$CXXFLAGS -Wall -Werror"
in configure.ac (line 24) then run autogen.sh and ./configure and it should use -Wall -Werror: if g++ -DPACKAGE_NAME=\"Wormux\" -DPACKAGE_TARNAME=\"wormux\" -DPACKAGE_VERSION=\"0.5.0\" -DPACKAGE_STRING=\"Wormux\ 0.5.0\" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"wormux\" -DVERSION=\"0.5.0\" -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBX11= -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/X11R6/include -I/usr/include/ClanLib-0.7 -I/usr/include/libxml++-1.0 -I/usr/lib/libxml++-1.0/include -I/usr/include/libxml2 -DINSTALL_DATADIR=\"/usr/local/share/wormux/\" -DINSTALL_LOCALEDIR=\"/usr/local/share/locale/\" -I../intl -I../intl -Wall -Werror -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi Best regards -- Isaac Clerencia at Warp Networks, http://www.warp.es Work: <[EMAIL PROTECTED]> | Debian: <[EMAIL PROTECTED]>
pgpT7WWoVxAWu.pgp
Description: PGP signature
