This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/47275] ofstream::put(255) results in bad stream when built with -fsigned-char on platforms that default to unsigned char
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Jan 2011 18:49:03 +0000
- Subject: [Bug libstdc++/47275] ofstream::put(255) results in bad stream when built with -fsigned-char on platforms that default to unsigned char
- Auto-submitted: auto-generated
- References: <bug-47275-4@http.gcc.gnu.org/bugzilla/>
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.