Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2001 22:51:58 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Brian Somers <brian@freebsd-services.com>
Cc:        Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/sys cdefs.h 
Message-ID:  <20010914224302.R18852-100000@delplex.bde.org>
In-Reply-To: <20010914221545.G18664-100000@delplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 14 Sep 2001, I wrote:

> This regression may be related to breakage of lint(1).  lint(1) now
> uses a wrong version of cpp, one that pre-defines __GNUC__.  Since lint
> is not gcc, this defeats all the __GNUC__ ifdefs in <sys/cdefs.h>.  In
> particular, __attributes__'s in important macros like __printflike are
> exposed to lint and lint barfs on important headers like <stdio.h> that
> expand these macros.

Actually, the hard __attribute__'s don't affect lint(1), because
subsequent breakage of lint added the define-away-__attribue__ hack
to lint itself.  Only all other __GNUC__ ifdefs are defeated.  This
is less fatal than I would have thought, since lint supports __asm
directly.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010914224302.R18852-100000>