This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/8610] large file support in libstdc++-v3 (std::streamoff type is 32-bit in GCC 3.2 whereas it was 64-bit in GCC 2.96)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2003 20:06:11 -0000
- Subject: [Bug libstdc++/8610] large file support in libstdc++-v3 (std::streamoff type is 32-bit in GCC 3.2 whereas it was 64-bit in GCC 2.96)
- References: <20021116081601.8610.davido@csse.uwa.edu.au>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8610
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-11 20:06 -------
Note on powerpc-apple-darwin6.6 and i686-unknown-openbsd3.1, I get:
sizeof(std::streamoff) = 4 bytes (32 bits)
sizeof(std::streampos) = 28 bytes (224 bits)
Also note that off_t is 64 bits:
sizeof(off_t) = 8 bytes (64 bits)
Looks like streamoff is wrongly defined for the *bsd in the first place (also large file
support is always on for *bsd). I include darwin as one of the *bsd in this case.