Date: Sun, 14 Jun 1998 06:40:03 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/sys cdefs.h Message-ID: <199806141340.GAA04898@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806141340.GAA04898>