[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] FW: c/9100: illegal binary constant causes gcc to seg
From: |
E. Weddington |
Subject: |
Re: [avr-gcc-list] FW: c/9100: illegal binary constant causes gcc to seg fault |
Date: |
Thu, 02 Jan 2003 13:56:22 -0700 |
On 2 Jan 2003 at 11:16, Sander Pool wrote:
>
> I guess I was thrown off by this page:
>
> http://padmin1.ncsa.uiuc.edu/auxdocs/intelcompiler/ref/cnst_c.htm
>
> which talks about an intel compiler, not the standard. I don't know
> where I got the idea from that 0b was the proper binary constant form
> for c. Somehow I found a web page that agreed with me. See, the web is
> a dangerous place :-)
>
> Sander
>
Hey, I got confused too. I thought you were right. I think that where
you got the idea for using 0b from is from assembly programming. On
the web I noticed that a lot of assemblers allow that prefix for
specifying binary numbers. Yeah, sometimes it all just runs
together....
Eric
avr-gcc-list at http://avr1.org