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++/32916] file stream error writing large buffers



------- Comment #2 from pcarlini at suse dot de  2007-07-27 17:14 -------
... actually, if you are on a 32-bit machine, your code is invalid, because
ostream::write takes a streamsize as second argument, which is a ptrdiff_t.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32916


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