From owner-cvs-all Fri Sep 14 4:54:10 2001 Delivered-To: cvs-all@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id E379837B409; Fri, 14 Sep 2001 04:54:05 -0700 (PDT) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f8EBs5M78629; Fri, 14 Sep 2001 04:54:05 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 82392380A; Fri, 14 Sep 2001 04:54:05 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Jeroen Ruigrok van der Werven Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys cdefs.h In-Reply-To: <200109141101.f8EB1AT48721@freefall.freebsd.org> Date: Fri, 14 Sep 2001 04:54:05 -0700 From: Peter Wemm Message-Id: <20010914115405.82392380A@overcee.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jeroen Ruigrok van der Werven wrote: > asmodai 2001/09/14 04:01:10 PDT > > Modified files: > sys/sys cdefs.h > Log: > For old gcc/gcc-based compilers and non gcc compilers make sure to > hide the __attribute__ gcc keyword. Also, as a followup, we also spoke about ridding the rest of the headers etc of __attribute__. It is easy to provide a compiler-dependent implementation of __unused, __printflike(), etc, but practically impossible to do #defines to map __attribute__ onto non-gcc compiler features. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message