Re: stdint module on SGI

2006-06-26 Thread Bruno Haible
Mark D. Baushke wrote: > If the __c99 symbol is not defined, then > the only thing that the file does is a '#error'. Oops, I missed this. Updating the comments: *** stdint_.h 26 Jun 2006 17:49:53 - 1.23 --- stdint_.h 26 Jun 2006 18:02:30 - *** *** 75,82 /* O

Re: stdint module on SGI

2006-06-26 Thread Larry Jones
Bruno Haible writes: > > > 2006-06-23 Larry Jones <[EMAIL PROTECTED]> > > > > * stdint_.h: Try harder to find a definition of WCHAR_MIN/MAX. > > Do you remember for which system this was necessary? IRIX or BSDI? BSDI. -Larry Jones There's never enough time to do all the nothing you want

Re: stdint module on SGI

2006-06-26 Thread Bruno Haible
Mark D. Baushke wrote: > I believe your patch has a typo. It uses _c99 instead of __c99 as the > symbol that the SGI c99 compiler defines. Thank you. Fixed. > I also wonder if you will consider doing something about the missing > WCHAR_MIN macro Sure. But I prefer to handle the issues one by one

Re: stdint module on SGI

2006-06-26 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Bruno, I believe your patch has a typo. It uses _c99 instead of __c99 as the symbol that the SGI c99 compiler defines. -- Mark Bruno Haible <[EMAIL PROTECTED]> writes: > Mark D. Baushke wrote: > > Yes. I am told that /usr/include/stdint.

Re: stdint module on SGI

2006-06-26 Thread Bruno Haible
Mark D. Baushke wrote: > 2006-06-23 Larry Jones <[EMAIL PROTECTED]> > > * stdint_.h: Try harder to find a definition of WCHAR_MIN/MAX. Do you remember for which system this was necessary? IRIX or BSDI? Bruno *** m4/stdint.m426 Jun 2006 17:03:57 - 1.10 --- m4/stdint.m4

Re: stdint module on SGI

2006-06-26 Thread Bruno Haible
Mark D. Baushke wrote: > Yes. I am told that /usr/include/stdint.h has the following: > > #ifndef __c99 > #error This header file is to be used only for c99 mode compilations > #else > > #endif > > The #else clause contains the typedefs one normally assumes are in > . > > The file similarly do

Re: stdint module on SGI

2006-06-26 Thread Mark D. Baushke
Bruno Haible <[EMAIL PROTECTED]> writes: > Mark D. Baushke wrote: > > In fact, the SGI > > IRIX 5.3 c99 compiler does have 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? > >

Re: stdint module on SGI

2006-06-26 Thread Larry Jones
Bruno Haible writes: > > Let me try to recap it. Do these comments reflect the reality? [...] > ! /* On some versions of IRIX, the SGI C compiler comes with an , > ! but > !- in c99 mode, includes , > !- in c89 mode, spews warnings and too > ! defines all types a

Re: stdint module on SGI

2006-06-26 Thread Bruno Haible
Mark D. Baushke wrote: > In fact, the SGI > IRIX 5.3 c99 compiler does have 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 -

Re: stdint module on SGI

2006-06-26 Thread Bruno Haible
Mark D. Baushke wrote: > The CVS sources need a further bit of > adjustment for both SGI IRIX 5.3 and BSDI BSD/OS > 4.2. See the patch below. Thanks, I'm applying the BSD/OS part. Bruno *** m4/stdint.m423 Jun 2006 20:52:39 - 1.8 --- m4/stdint.m426 Jun 2006 13:04:42 -000

Re: stdint module on SGI

2006-06-23 Thread Larry Jones
Mark D. Baushke writes: > > > > #if @HAVE_STDINT_H@ > >/* Other systems may have an incomplete . */ > > -# include @FULL_PATH_STDINT_H@ > > +# if !defined(__sgi) || [EMAIL PROTECTED]@ > > +# include @FULL_PATH_STDINT_H@ > > +# endif > > #endif > > Yes. Larry suggests that the '|| [EMAIL P

Re: stdint module on SGI

2006-06-23 Thread Mark D. Baushke
Hi Bruno, The CVS forked version is getting closer to the GNULIB version. (See below). Bruno Haible <[EMAIL PROTECTED]> writes: > Mark D. Baushke wrote: > > The following two patches take a closer step toward making things work > > under the default c89 compiler on SGI boxes. > > Thanks for sug

Re: stdint module on SGI

2006-06-23 Thread Larry Jones
Bruno Haible writes: > > Mark D. Baushke wrote: > > > > cc-1035 cc: WARNING File = /usr/include/stdint.h, Line = 5 > > #error directive: This header file is to be used only for c99 mode > > compilations > > > > #error This header file is to be used only for c99 mode compilations >

Re: stdint module on SGI

2006-06-23 Thread Bruno Haible
Hi Mark, Mark D. Baushke wrote: > The following two patches take a closer step toward making things work > under the default c89 compiler on SGI boxes. Thanks for suggesting these. But IRIX 6.5 has the types defined in and , therefore maybe some earlier version of IRIX had them only in ? Therefo

stdint module on SGI

2006-06-21 Thread Mark D. Baushke
Hi Bruno, The following two patches take a closer step toward making things work under the default c89 compiler on SGI boxes. All files that #include still get warnings like this one: cc-1035 cc: WARNING File = /usr/include/stdint.h, Line = 5 #error directive: This header file is to be used