[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gccxml
Subject:    Re: [GCC-XML] cstdio.h issue compiling on AIX 5.2 with gcc 4.1.1
From:       Brad King <brad.king () kitware ! com>
Date:       2007-02-21 14:27:47
Message-ID: 45DC56E3.3000606 () kitware ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic