why GCC does implicit promotion to unsigned char?
Miles Bader
miles@gnu.org
Thu Jan 26 11:54:00 GMT 2012
Konstantin Vladimirov <konstantin.vladimirov@gmail.com> writes:
> It looks really weird. Why gcc promotes char to unsigned char internally?
Hmm, maybe not useful, but if you used "unsigned char" as the variable
types or the -funsigned-char command-line option, it won't ('cause the
variables will already be unsigned)...
-miles
--
Politics, n. A strife of interests masquerading as a contest of
principles. The conduct of public affairs for private advantage.
More information about the Gcc
mailing list