On Wednesday, 13 de April de 2005 03:28, Victor STINNER wrote: > Le mercredi 13 avril 2005 à 01:21 +0200, Isaac Clerencia a écrit : > > The "autotools" way should be using: > > AX_CFLAGS_WARN_ALL > > > > The main advantage is that the macro is able to enable warnings with > > different compilers, not only gcc, otherwise your "patch" is ok. > > > > You can get more info about the AX_CFLAGS_WARN_ALL here: > > http://autoconf-archive.cryp.to/ax_cflags_warn_all_ansi.html > > Ok. I added m4/ax_cflags_warn_all_ansi.m4 and used this instead of > -Wall. That enables -ansi and makes everything explode here :P /usr/include/ClanLib-0.7/ClanLib/Core/IOData/datatypes.h:49: error: ISO C++ does not support `long long' /usr/include/ClanLib-0.7/ClanLib/Core/IOData/datatypes.h:50: error: ISO C++ does not support `long long'
May be you should use ax_cflags_warn_all.m4 that just includes -pedantic -Wall Best regards -- Isaac Clerencia at Warp Networks, http://www.warp.es Work: <[EMAIL PROTECTED]> | Debian: <[EMAIL PROTECTED]>
pgpwlE1bdypwg.pgp
Description: PGP signature
