avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Re: Passing a string variable to lcd_puts


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Re: Passing a string variable to lcd_puts
Date: Sat, 28 Mar 2009 18:12:21 +0100 (MET)

David Brown <address@hidden> wrote:

> That's true in C, but C++ considers all three as separate types (C++
> is a little bit fussier about mixing types).

C99 does as well, but it doesn't enforce it in a strict way.  An
application making assumptions about the signedness of the type "char"
is simply no longer fully portable in C99 (it is "conforming" but not
"strictly conforming" to the standard then).  GCC can warn about that
portability issue.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

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