Problem building libiberty
Mark Kettenis
kettenis@wins.uva.nl
Fri Jun 16 08:31:00 GMT 2000
Hi Kaveh,
The following change:
2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
__extension__.
causes a problem building libiberty on rs6000-ibm-aix3.2.5 with gcc 2.7.2:
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/home/kettenis/CVS/src/libiberty/../include
-W -Wall -Wtraditional -pedantic /home/kettenis/CVS/src/libiberty/mkstemps.c
/home/kettenis/CVS/src/libiberty/mkstemps.c:42: parse error before `__extension_
_'
I noticed the problem when building GDB (our libiberty was just resynced
with GCC), but I'm pretty sure the same problem exists in GCC's master
copy. Obviously a bug in gcc 2.7.2, but introducing a hard error to
avoid a warning defeats its purpose a bit :-(.
Mark
More information about the Gcc-bugs
mailing list