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

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

Re: [avr-gcc-list] long character constants like 'abcd'


From: Jeff Barlow
Subject: Re: [avr-gcc-list] long character constants like 'abcd'
Date: Wed, 22 Jan 2003 07:47:35 -0800

Egil Kvaleberg <address@hidden>  wrote:

>Traditionally (as in K&R), 'ab' was technically a legal presentation for
>(('a' << 8) | 'b') or (('b' << 8) | 'a'). 

I have the "traditional" K & R (copyright 1978) right here in front of
me and I can find no mention of multi byte character constants. I know
some compilers support this syntax, but I don't think it's ever been
required to work.

Later,
Jeff
avr-gcc-list at http://avr1.org



reply via email to

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