From owner-cvs-all Sun Jun 14 06:40:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA06255 for cvs-all-outgoing; Sun, 14 Jun 1998 06:40:46 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA06250; Sun, 14 Jun 1998 06:40:42 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA04898; Sun, 14 Jun 1998 06:40:03 -0700 (PDT) Date: Sun, 14 Jun 1998 06:40:03 -0700 (PDT) Message-Id: <199806141340.GAA04898@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/sys cdefs.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk bde 1998/06/14 06:40:02 PDT Modified files: sys/sys cdefs.h Log: Don't define away __attribute__() for the non-gcc and old-gcc cases. Using __attribute__() in non-ifdefed code is just wrong if it changes the semantics, and there is no way to ignore __attribute__() only in the benign cases. Don't use __attribute__ in non-ifdefed code here. It was a benign case, but we already have a macro (__unused) for this case. Expanded comment about gotchas for __CONCAT() in the non-ANSI case. Revision Changes Path 1.17 +7 -7 src/sys/sys/cdefs.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message