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: "dje at watson dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Dec 2007 14:58:50 -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 #10 from dje at watson dot ibm dot com 2007-12-21 14:58 -------
Subject: Re: AIX g++ -D_LARGE_FILES fails to compile #include <iostream>
> Why is this? -D_LARGE_FILES simply enables LFS. xlC works with and without
> -D_LARGE_FILES. Shouldn't G++ work as effectively as xlC?
You are mixing multiple questions and issues.
-D_LARGE_FILES redefines all I/O functions to use the 64-bit
versions.
xlC has its own system header files. G++ needs to use the AIX
system header files with changes from fixincludes, combined with libstdc++
header files that perform their own redefinitions.
"Shouldn't G++ work as effectively..." is a business question, not
a technical question. Many major AIX customers use GCC, but none have
told IBM that they will not buy a system unless GCC works better. That
sets investment priorities.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20366