[Top][All Lists]

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

Re: stdint module on SGI

From: Larry Jones
Subject: Re: stdint module on SGI
Date: Fri, 23 Jun 2006 19:46:28 -0400 (EDT)

Mark D. Baushke writes:
> > 
> >  #if @HAVE_STDINT_H@
> >    /* Other systems may have an incomplete <stdint.h>.  */
> > -# include @FULL_PATH_STDINT_H@
> > +# if !defined(__sgi) || !@HAVE_INTTYPES_H@
> > +#  include @FULL_PATH_STDINT_H@
> > +# endif
> >  #endif
> Yes. Larry suggests that the '|| !@HAVE_INTTYPES_H@' 
> may not be necessary, but I have a dim
> recollection that IRIX 4.0 may not yet have had an
> <inttypes.h> file, so that is was I was trying to
> protect.

But in that case it won't have a <stdint.h> file, either, so the outer
#if won't be satisfied (unless I'm misunderstanding how it's supposed to

> 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. Why they
> did it in that manner is beyond my understanding.

Mine, too.  I used to know some of the people in the SGI and Cray
compiler groups, and they were quite sharp.  I can only assume they've
all left, because there's ample evidence of a serious clue shortage
there now. :-)

-Larry Jones

It's hard to be religious when certain people are never
incinerated by bolts of lightning. -- Calvin

reply via email to

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