Red Hat Bugzilla – Bug 60212
g++ in hampton seems to be confused about its headers
Last modified: 2008-05-01 11:38:01 EDT
Description of Problem:
During a compilation the following happens:
In file included from /usr/include/g++-v3/backward/algo.h:61,
/usr/include/g++-v3/backward/tempbuf.h:70: `get_temporary_buffer' not declared
/usr/include/g++-v3/backward/tempbuf.h:71: `return_temporary_buffer' not
make: *** [bon_time.o] Error 1
This is, BTW, result of trying to compile bonnie++-1.02a. Never mind
that bonnie sources and 'configure' seem to be very confused, and that it
not very hard to fix _that_ one (few ways but commenting out apparently
bogus '#define USE_STL' seems to be the simplest), but headers should not
trip on symbols they include themselves. Both `get_temporary_buffer'
and `return_temporary_buffer' are not coming from bonnie.
This was fixed in CVS a few days ago.
Can you confirm this is fixed in Beta 2?
Yes, it is (in 3.1-0.22 and above).
Though we used just gcc-2.96-RH in beta2 (where this never existed)
and in skipjack 3.1 might be just in preview/.