[ooc-compiler] Fwd: Compiler Bug
Brought to you by:
mva
|
From: Michael v. A. <mic...@gm...> - 2007-09-06 06:07:56
|
Acknowledged. There is no overflow checking at all
for floating point computations, neither in the output code
nor in the compiler itself.
-- mva
---------- Forwarded message ----------
From: August Karlstrom <fus...@co...>
Date: 05-Sep-2007 22:11
Subject: [ooc-compiler] Compiler Bug
To: ooc...@li...
$ oo2c --version
oo2c/gcc 2.1.11
$ cat src/Test.Mod
MODULE Test;
VAR c: LONGREAL;
BEGIN
c := MAX(LONGREAL) * 2
END Test.
$ oo2c -M Test
obj/Test.c: In function 'OOC_Test_init':
obj/Test.c:7: error: 'INF' undeclared (first use in this function)
obj/Test.c:7: error: (Each undeclared identifier is reported only once
obj/Test.c:7: error: for each function it appears in.)
August
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
ooc-compiler mailing list
ooc...@li...
https://lists.sourceforge.net/lists/listinfo/ooc-compiler
|