[Bug libstdc++/47275] ofstream::put(255) results in bad stream when built with -fsigned-char on platforms that default to unsigned char
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Thu Jan 13 19:06:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47275
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-01-13 18:48:41 UTC ---
Indeed, all the bets are off here unless the library is both built (installed)
and then used with the same signedness for char. Thus, closing as invalid.
More information about the Gcc-bugs
mailing list