[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Possible bug & patch to make configure Debian friendl
From: |
Antti-Juhani Kaijanaho |
Subject: |
Re: [Tinycc-devel] Possible bug & patch to make configure Debian friendly |
Date: |
Wed, 9 May 2007 11:00:30 +0300 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Wed, May 09, 2007 at 06:45:58AM +0000, Pedro A ARANDA wrote:
> //
> // I consider 1,0 to be a typo. IMHO this code shouldn't compile
> //
> double typo = 1.0 / (1,0 - 0.3 * x);
In C, this is perfectly legal, albeit confusing. In a compiler that does dead
code detection, it would make sense to warn about this, but it should compile
in any standards-conscious compiler.