Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Bug in gcc parser

2005-07-15 by Clyde Stubbs

On Fri, Jul 15, 2005 at 07:59:06AM +0200, 42Bastian Schick wrote:
> I read the manual now, but still I think 0x3e+2 must be compiled and give
> 0x40.

I disagree with the GCC implementers on this, but nonetheless a strict
interpretation of the ANSI/ISO standard for C does mean that 0x3e+2 is
parsed as an invalid floating point number. My view is that a more intelligent
interpretation would be preferable, but that's not what GCC does.


-- 
Clyde Stubbs                     |            HI-TECH Software
Email: clyde@...          |          Phone            Fax
WWW:   http://www.htsoft.com/    | USA: (408) 490 2885  (408) 490 2885
PGP:   finger clyde@...   | AUS: +61 7 3552 7777 +61 7 3552 7778
---------------------------------------------------------------------------
HI-TECH C: compiling the real world.

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.