Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2002 05:52:59 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys cdefs.h
Message-ID:  <200205271252.g4RCqx215267@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




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