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))
_______________________________________________
Bug-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/bug-cvs