This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Problem building libiberty
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Problem building libiberty
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Fri, 16 Jun 2000 17:29:55 +0200 (MET DST)
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