Re: Portablity bug in base64.c

2006-06-26 Thread Larry Jones
Paul Eggert writes: > > I think it's more that we're worried about having to cater to other > silly compiler incompatibilities with C89. There are so many of them... Yes, I understand. The camel's nose into the tent > But to save time on this I installed your patch Thanks. > (though I u

Re: Portablity bug in base64.c

2006-06-26 Thread Paul Eggert
[EMAIL PROTECTED] (Larry Jones) writes: > The cost of the change is exceeding low I think it's more that we're worried about having to cater to other silly compiler incompatibilities with C89. There are so many of them... But to save time on this I installed your patch (though I used _ rather t

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: [bug-gnulib] Re: on IRIX-5.3 & SGI-cc

2006-06-26 Thread Bruno Haible
Mark D. Baushke wrote: > * stdint_.h (__bsdos__): BSD/OS 4.2 needs to include >to avoid a generated that redifines > typedefs already found in . Thanks, I'm putting this into gnulib. > #if @HAVE_STDINT_H@ >/* Other systems may have an incomplete . */ > -# includ

Re: [bug-gnulib] Re: on IRIX-5.3 & SGI-cc

2006-06-26 Thread Bruno Haible
Martin Neitzel wrote: > into this illegal stdint.h code: > > /* wint_t limits */ > #ifndef WINT_MIN > # if 0 > # if > 32 ||<=== flagged error here > # define WINT_MIN (-1L << ( - 1)) (<=== silently borked) > # else This is valid ANSI C and IS

Re: [bug-gnulib] on IRIX-5.3 & SGI-cc

2006-06-26 Thread Bruno Haible
Martin Neitzel wrote: > This is CVS on a SGI Indigo (R3000, 32bit) running IRIX-5.3 and SGI's > commercial "IRIX Developer Option" cc (ANSI C as in ISO :1990 or > c89). OK, we can support this platform. > I'm using -w2 which turns all warnings into serious errors > requiring some treatment (just

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: gnulib-tool, sys_socket: don't steal mostlyclean-local

2006-06-26 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > Simon Josefsson wrote: >> The sys_socket module uses mostlyclean-local: >> >> mostlyclean-local: >> -rmdir sys 2>/dev/null >> >> This makes it difficult for other modules to do the same. I get: >> >> Makefile:817: warning: overriding commands for

Re: small inet_ntop.m4 fix

2006-06-26 Thread Simon Josefsson
Yoann Vandoorselaere <[EMAIL PROTECTED]> writes: > On Wed, 2006-06-21 at 12:03 +0200, Simon Josefsson wrote: >> Simon Josefsson <[EMAIL PROTECTED]> writes: >> >> > Yoann Vandoorselaere <[EMAIL PROTECTED]> writes: >> > >> >> On Sat, 2006-06-17 at 21:02 +0200, Simon Josefsson wrote: >> >>> Hi Yoann