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...
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47275
--- Comment #1 from ceckak at frontier dot com 2011-01-13 06:40:17 UTC ---
Typo in the original description: fails at i=255 (not 256)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47275
Summary: ofstream::put(255) results in bad stream when built
with -fsigned-char on platforms that default to
unsigned char
Product: gcc
Version: unknown
Status: UN