This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/20366] AIX g++ -D_LARGE_FILES fails to compile #include <iostream>
- From: "tcoleman at autowares dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Dec 2007 00:06:59 -0000
- Subject: [Bug target/20366] AIX g++ -D_LARGE_FILES fails to compile #include <iostream>
- References: <bug-20366-10214@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from tcoleman at autowares dot com 2007-12-20 00:06 -------
The test program will compile if you comment out the #undefs in cstdio.
//#undef fgetpos
//#undef fopen
//#undef freopen
//#undef fsetpos
I've wrestled with this problem with G++ on AIX for years. In desparation I
just had our admin load the IBM 4.0.0 RPMs - same problem!
This is the second time this error has prevented me from porting a relatively
simple application to AIX.
This particular problem has gone on long enough.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20366