bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stdint module on SGI


From: Bruno Haible
Subject: Re: stdint module on SGI
Date: Mon, 26 Jun 2006 20:01:37 +0200
User-agent: KMail/1.9.1

Mark D. Baushke wrote:
> If the __c99 symbol is not defined, then
> the only thing that the <stdint.h> file does is a '#error'.

Oops, I missed this. Updating the comments:

*** stdint_.h   26 Jun 2006 17:49:53 -0000      1.23
--- stdint_.h   26 Jun 2006 18:02:30 -0000
***************
*** 75,82 ****
    /* On some versions of IRIX, the SGI C compiler comes with an <stdint.h>,
       but
         - in c99 mode, <inttypes.h> includes <stdint.h>,
!        - in c89 mode, <stdint.h> spews warnings. <inttypes.h> defines only
!          a subset of the types and macros that are defined in <stdint.h>.
       So we rely only on <inttypes.h> (included above).  It means that in
       c89 mode, we shadow the contents of warning-spewing <stdint.h>.  */
  # if !(defined(__sgi) && @HAVE_INTTYPES_H@ && !defined(__c99))
--- 75,83 ----
    /* On some versions of IRIX, the SGI C compiler comes with an <stdint.h>,
       but
         - in c99 mode, <inttypes.h> includes <stdint.h>,
!        - in c89 mode, <stdint.h> spews warnings and defines nothing.
!          <inttypes.h> defines only a subset of the types and macros that
!          <stdint.h> would define in c99 mode.
       So we rely only on <inttypes.h> (included above).  It means that in
       c89 mode, we shadow the contents of warning-spewing <stdint.h>.  */
  # if !(defined(__sgi) && @HAVE_INTTYPES_H@ && !defined(__c99))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]