avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] inttypes.h cleanup for -mint8


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] inttypes.h cleanup for -mint8
Date: Tue, 12 Nov 2002 17:49:02 +0100
User-agent: Mutt/1.2.5i

As Jeff Barlow wrote:

> >> I just wish that there was a switch that causes gcc to not
> >> automatically promote to int when an expression's arguments are both
> >> unsigned char.

> Couldn't some of this be done by using the C++ mode and just
> defining overloaded operators for type char?

That's quite a bit of overkill, and probably would become really
complicated for cases like

        PORTB = ~PORTB;

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]