From owner-cvs-all Mon May 27 5:53: 2 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A2C937B403; Mon, 27 May 2002 05:52:59 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4RCqx215267; Mon, 27 May 2002 05:52:59 -0700 (PDT) (envelope-from bde) Message-Id: <200205271252.g4RCqx215267@freefall.freebsd.org> From: Bruce Evans Date: Mon, 27 May 2002 05:52:59 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys cdefs.h X-FreeBSD-CVS-Branch: RELENG_3 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 bde 2002/05/27 05:52:59 PDT Modified files: (Branch: RELENG_3) sys/sys cdefs.h Log: Fixed missing definitions of __dead2, __pure2 and __unused when parts of RELENG_3 are compiled by gcc-3. These macros are for cosmetic purposes (optimization and error checking), so they should have been defined away for all unknown compilers, including for versions of gcc that were apparently not dreamt of when RELENG_3 was current or stable, but the ifdefs are too backwards-looking and got this wrong. RELENG_4 has the same bug for gcc-4. The corresponding idefs in -current and most other ifdefs for gcc avoid the bug by assuming that all future versions of gcc will be like gcc-3. Revision Changes Path 1.24.2.2 +1 -1 src/sys/sys/cdefs.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message