[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] gcc binary
From: |
cswiger |
Subject: |
[avr-gcc-list] gcc binary |
Date: |
Wed, 3 Mar 2004 11:42:41 -0500 (EST) |
This should be simple: does gcc not support binary ???
I've a snipped of code that initializes an array with
char bitmap[38][7]={
//0
0b01110000,
0b10001000,
0b10011000,
0b10101000,
0b11001000,
0b10001000,
0b01110000,
etc, but I can't get 0bxxxx to work anywhere.
d=110; decimal
d=0110; octal
d=0x110; hex
d=0b110; fails to compile with invalid suffix on integer
constant.
Sorry if this is gcc and not avr specific.
--Chuck
_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list
- [avr-gcc-list] Gcc bug??, Brian Cuthie, 2004/03/02
- Re: [avr-gcc-list] Gcc bug??, Klaus Rudolph, 2004/03/03
- AW: [avr-gcc-list] Gcc bug??, Peter Hierholzer, 2004/03/03
- Re: [avr-gcc-list] Gcc bug??, Kang Tin LAI, 2004/03/03
- [avr-gcc-list] gcc binary,
cswiger <=
- Re: [avr-gcc-list] gcc binary, Douglas Dotson, 2004/03/03
- Re: [avr-gcc-list] gcc binary, E. Weddington, 2004/03/03
- Re: [avr-gcc-list] gcc binary, cswiger, 2004/03/03
- Re: [avr-gcc-list] gcc binary, Joerg Wunsch, 2004/03/03
- Re: [avr-gcc-list] gcc binary, E. Weddington, 2004/03/03
- Re: [avr-gcc-list] gcc binary, Douglas Dotson, 2004/03/03
- Re: [avr-gcc-list] gcc binary, Erik Christiansen, 2004/03/03
- Re: [avr-gcc-list] gcc binary, Yura Galayda, 2004/03/04
- Re: [avr-gcc-list] gcc binary, Yura Galayda, 2004/03/05
- Re: [avr-gcc-list] gcc binary, Anton Erasmus, 2004/03/03