[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] Re: xalloc.h gcc -Wundef fix

From: Simon Josefsson
Subject: [Bug-gnulib] Re: xalloc.h gcc -Wundef fix
Date: Thu, 28 Aug 2003 08:34:26 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Simon Josefsson <address@hidden> writes:

> Perhaps too much of nit'picking, but I'm somtimes using -Wundef and
> xalloc.h complains about __STRICT_ANSI__.  The same probably applies
> to __GNUC__ too, but as I'm using gcc it is already defined.

Forget this, it appears to be a can of worms.  Once that place was
fixed, others crept up.

> Has someone studied which gcc warnings really are important for
> portability?  Any preferences for gnulib code?

I'm still interested in this though, as I'm trying to find a good
CFLAGS that catches most problems I'll discover later when actually
trying to compile a package on many platforms, but at the same time
not generating too much work by forcing me to fix pointless warnings.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]