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: "bugzilla-gcc at thewrittenword dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Dec 2007 03:59:19 -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 #9 from bugzilla-gcc at thewrittenword dot com 2007-12-21 03:59 -------
(In reply to comment #8)
> The issue is whether to default G++ to _LARGE_FILES, as is done for Fortran,
> and perform all libstdc++ I/O as 64-bit operations, which will affect
> performance. Not everyone may want or need large I/O. There is no way to give
> users control over this without imposing it so G++, G++ headers, and libstdc++
> all are self-consistent. The other alternative is another multilib, but there
> alredy are too many variants.
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?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20366