This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem building libiberty


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]