[GCC-XML] cstdio.h issue compiling on AIX 5.2 with gcc 4.1.1
Brad King
brad.king at kitware.com
Wed Feb 21 09:27:47 EST 2007
Wheeler, Richard wrote:
> Below is the command failing at 97% complete. Does anyone have any
> ideas on how to solve this. I added the -maix64 to get around the issue
> however it still fails with it or without it.
I'll assume your cvs access problem was resolved.
> # c++ -v -maix64 -I/gccxml-build/GCC_XML/GXFront -I/gccxml-build/GCC_XML -DKWSYS_NAMESPACE=gxsys -o G>
[snip]
> /local/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/../../../../include/c++/4.1.1/cstdio:109: error: '::fgetpos' has not been declared
> /local/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/../../../../include/c++/4.1.1/cstdio:111: error: '::fopen' has not been declared
> /local/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/../../../../include/c++/4.1.1/cstdio:116: error: '::freopen' has not been declared
> /local/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/../../../../include/c++/4.1.1/cstdio:119: error: '::fsetpos' has not been declared
Try creating your own source file that does nothing but
#include <cstdio>
to see if the compiler works. If it does, please send me (off list) the
preprocessor output from the compile line above.
Thanks,
-Brad
More information about the gccxml
mailing list