[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
1.13.25 compiling problem on hpux (10.20 and 11)
From: |
Will Partain |
Subject: |
1.13.25 compiling problem on hpux (10.20 and 11) |
Date: |
Sat, 09 Mar 2002 15:32:24 +0000 |
Compiling 1.13.25 on HP-UX (10.20 or 11) with GCC (3.0.4)
fails in lib/ with a cpp error:
+ /our/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl
-I/.-ark-deploy/tar--1.13.25/include -O2 -fstrict-aliasing
-I/.-ark-deploy/tar--1.13.25/include -E xstrtoimax.c
In file included from xstrtoimax.c:31:
xstrtol.c:90:21: macro "strtoimax" requires 3 arguments, but only 1 given
Apparently, strtoimax is a macro on HP-UX (NB: unchecked).
If I add an inner check in xstrtol.c...
#if !HAVE_DECL_STRTOIMAX
/* partain added inner check */
#ifndef strtoimax
intmax_t strtoimax ();
#endif
#endif
... it goes fine. (I am not saying this is the correct fix
:-) Passes all 'make check' tests on 11, and fails "only"
ignfail.sh on 10.20. Keep up the good work,
Will
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- 1.13.25 compiling problem on hpux (10.20 and 11),
Will Partain <=