On Fri, 23 Sep 2005, Vincent Trouilliez wrote:

> Yes, I get a compiler error in both cases.
> 
> About foo = 0b1111000; or foo = 0B11110000; it says :
> 
> main.c:92:9: invalid suffix "b11110000" on integer constant
> 
> ...and about foo = b11110000; it says:
> 
> main.c:92: error: `b11110000' undeclared (first use in this function)

I am fairly certain binary constants don't work, and I don't recall why.

==========================================================
Chris Candreva  -- [EMAIL PROTECTED] -- (914) 967-7816
WestNet Internet Services of Westchester
http://www.westnet.com/


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to