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++/47275] ofstream::put(255) results in bad stream when built with -fsigned-char on platforms that default to unsigned char


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

--- Comment #6 from ceckak at frontier dot com 2011-01-13 18:58:15 UTC ---
Fair enough.  Presumably it's just luck that this works on some toolchains
then?  Off to slog through a legacy codebase and sprinkle "signed char"
throughout...


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