[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?
From: |
Christopher X. Candreva |
Subject: |
Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ? |
Date: |
Thu, 22 Sep 2005 20:59:52 -0400 (EDT) |
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 -- address@hidden -- (914) 967-7816
WestNet Internet Services of Westchester
http://www.westnet.com/
- Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?, (continued)
- Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?, Parthasaradhi Nayani, 2005/09/22
- Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?, Vincent Trouilliez, 2005/09/22
- Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?, Derric Tubbs, 2005/09/22
- Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?, Vincent Trouilliez, 2005/09/22
- Re: [avr-gcc-list] Trick for creating WYSIWYG bitmaps in C [was: how to specifiy a binary constant], Derric Tubbs, 2005/09/22
- Re: [avr-gcc-list] Trick for creating WYSIWYG bitmaps in C, Vincent Trouilliez, 2005/09/23
- Re: [avr-gcc-list] Trick for creating WYSIWYG bitmaps in C [was: how to specifiy a binary constant], Bob Paddock, 2005/09/23
- Re: [avr-gcc-list] Trick for creating WYSIWYG bitmaps in C [was: howto specifiy a binary constant], Dave Hansen, 2005/09/23
- Re: [avr-gcc-list] Trick for creating WYSIWYG bitmaps in C [was: how to specifiy a binary constant], Derric Tubbs, 2005/09/23
- Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?, Rolf Ebert, 2005/09/23
- Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?,
Christopher X. Candreva <=
- Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?, David Kelly, 2005/09/22
- Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?, Joerg Wunsch, 2005/09/23
- Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?, Parthasaradhi Nayani, 2005/09/22
- Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?, Vincent Trouilliez, 2005/09/22
- Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?, Kitts, 2005/09/22
- Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?, Alex Wenger, 2005/09/23
- Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?, Vincent Trouilliez, 2005/09/23