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

[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: Sander Pool
Subject: Re: [avr-gcc-list] FW: c/9100: illegal binary constant causes gcc to seg fault
Date: Thu, 2 Jan 2003 11:16:56 -0800

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


"Joerg Wunsch" <address@hidden> wrote in message
news:address@hidden
> "Sander Pool" <address@hidden> wrote:
>
> > I just logged a defect against gcc as it crashes when I try to use
binary
> > constants. Contrary to my bug report my code is actually legal, I'm
pretty
> > sure :-)
>
> What makes you believe that 0b11111000 would make up a valid C number?
> It doesn't.  C only knows about decimal, hexadecimal, and octal
> constants.
>


avr-gcc-list at http://avr1.org



reply via email to

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