This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: why GCC does implicit promotion to unsigned char?
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.