[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:33:00 GMT 2011


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

--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-01-13 19:06:16 UTC ---
In general, it's just luck, in the sense that compile options affecting things
like char signedness or, as another example, the size of wchar_t, change the
ABI and nothing can be said, in general, about the interactions between the
library, that is the *.so, and the user code. We can't support that, sorry.



More information about the Gcc-bugs mailing list