bug-gnulib
[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 15:27:22 +0200
User-agent: KMail/1.9.1

Mark D. Baushke wrote:
> In fact, the SGI
> IRIX 5.3 c99 compiler does have <inttypes.h> do
> this. When c89 is used, the file is not included,
> but all of the needed types are defined.

Let me try to recap it. Do these comments reflect the reality?

Bruno


*** lib/stdint_.h       26 Jun 2006 13:06:51 -0000      1.20
--- lib/stdint_.h       26 Jun 2006 13:25:35 -0000
***************
*** 67,73 ****
  #endif
  #if @HAVE_STDINT_H@
    /* Other systems may have an incomplete <stdint.h>.  */
! # include @FULL_PATH_STDINT_H@
  #endif
  
  /* 7.18.1.1. Exact-width integer types */
--- 67,81 ----
  #endif
  #if @HAVE_STDINT_H@
    /* Other systems may have an incomplete <stdint.h>.  */
!   /* 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 <inttypes.h> too
!          defines all types and macros that are defined in <stdint.h>.
!      So we rely only on <inttypes.h> (included above).  */
! # if !(defined(__sgi) && @HAVE_INTTYPES_H@)
! #  include @FULL_PATH_STDINT_H@
! # endif
  #endif
  
  /* 7.18.1.1. Exact-width integer types */




reply via email to

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