--- Comment #9 from pedzsan at gmail dot com 2010-05-17 20:05 ---
The general reply to this was "your GCC was not compiled for your system".
That isn't the case. I have two compiles on two different systems. One if
version 4.5.0 and the other version is 4.3.1 compiled on AIX 5.3 TL05
--- Comment #8 from oliver at FreeBSD dot org 2009-08-20 07:31 ---
I fixed this on my AIX system by changing
/opt/pkg/gcc34/include/c++/3.4.6/cstdio.
I uncommented the undef's:
// Get rid of those macros defined in in lieu of real functions.
#undef clearerr
#undef fclose
#undef feof
--- Comment #7 from patrick133t at yahoo dot com 2008-06-03 18:19 ---
I see this on AIX 5.3 also. I tracked it down by creating a simple program that
just does a #include and then saw that it worked when compiled as:
g++ -c -o bar.o bar.cc
However, it fails to compile when I do
g++ -