Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Bug in gcc parser

2005-07-14 by Jim Parziale

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]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.