It's interesting how I just came across this in a GCC compiler manual yesterday... This is considered hexadecimal floating point by the compiler. Just put spaces around the "+" and it should work OK. Jim On 7/14/05, 42Bastian Schick <bastian42@...> wrote: > > FYI, > > a co-worker found a bug in gcc parser (all gcc's I could get hands on): > Following bails out (but compiles correctly on all other compilers I could > get hands on): > > int a = 0x3e+2; > > gcc seems to take it as scientific notation. > > Regards, > > -- > 42Bastian Schick > > [Non-text portions of this message have been removed]
Message
Re: [lpc2000] Bug in gcc parser
2005-07-14 by Jim Parziale