This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]