Re: Compiler error of m4-1.4.13 on AIX using xlc

2009-05-20 Thread Bruno Haible
Eric Blake asked: > > BTW: The xlC-compiler (more: it's header files) on AIX supports a define > > _LINUX_SOURCE_COMPAT which enables some linux compatibility behaviour (e.g. > > malloc(0) returns a pointer to 0 bytes memory, not just NULL). > > Should we be adding that to the list of pre-defined

Re: Compiler error of m4-1.4.13 on AIX using xlc

2009-05-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jens Rehsack on 5/16/2009 2:00 AM: > BTW: The xlC-compiler (more: it's header files) on AIX supports a define > _LINUX_SOURCE_COMPAT which enables some linux compatibility behaviour (e.g. > malloc(0) returns a pointer to 0 bytes memory, no

Re: Compiler error of m4-1.4.13 on AIX using xlc

2009-05-16 Thread Jens Rehsack
Bruno Haible wrote: > Eric Blake wrote: CC strtod.o "strtod.c", line 155.17: 1506-045 (S) Undeclared identifier HUGE_VAL. "strtod.c", line 170.17: 1506-232 (I) Divisor for modulus or division operator cannot be zero. #include_next "///usr/vac/include/math.h" <-- wron

Re: Compiler error of m4-1.4.13 on AIX using xlc

2009-05-15 Thread Bruno Haible
Eric Blake wrote: > >> CC strtod.o > >> "strtod.c", line 155.17: 1506-045 (S) Undeclared identifier HUGE_VAL. > >> "strtod.c", line 170.17: 1506-232 (I) Divisor for modulus or division > >> operator cannot be zero. > >> > >> #include_next "///usr/vac/include/math.h" <-- wrong: must use /usr/inclu

Re: Compiler error of m4-1.4.13 on AIX using xlc

2009-05-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jens Rehsack on 5/4/2009 11:56 AM: #include_next "///usr/vac/include/math.h" <-- wrong: must use /usr/include >>> The problem was easy to fix for the current compilation, but I don't know >>> how to fix the math.in.h - or if this

Re: Compiler error of m4-1.4.13 on AIX using xlc

2009-05-04 Thread Jens Rehsack
Eric Blake wrote: > [adding bug-gnulib] > > According to Jens Rehsack on 5/1/2009 5:32 AM: >> Hi Eric, > > Hi Jens, > >> Thomas told me, you're the best person to ask for assistance regarding the >> problem below. > > Well, actually 'm4 --help' (or even './configure --help', since you didn't >

Re: Compiler error of m4-1.4.13 on AIX using xlc

2009-05-01 Thread Bruno Haible
Eric Blake wrote: > > I tried to do the update to m4-1.4.13 (using PkgSrc) on AIX and got > > following error: > > > >> CC regex.o > >> "regex_internal.c", line 320.48: 1506-280 (W) Function argument assignment > >> between types "char** restrict" and "int*" is not allowed. > >> "regex_internal.c

Re: Compiler error of m4-1.4.13 on AIX using xlc

2009-05-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [adding bug-gnulib] According to Jens Rehsack on 5/1/2009 5:32 AM: > Hi Eric, Hi Jens, > > Thomas told me, you're the best person to ask for assistance regarding the > problem below. Well, actually 'm4 --help' (or even './configure --help', since