|
From: | david wallin |
Subject: | Re: [Tinycc-devel] libtcc bug when evaluating math expressions |
Date: | Thu, 27 Nov 2003 19:10:49 +0000 |
thank you very much! --david. On Thursday, November 27, 2003, at 07:05 PM, Daniel Glöckner wrote:
On Thu, Nov 27, 2003 at 05:15:47PM +0000, david wallin wrote:char *eval_me = "#include <math.h>\ndouble evaluate_me(double v) {return dabs(v); }\0" ;Here again, TCC doesn't know that the function returns a double. The #include <math.h> is useless, as dabs is not declared there. Instead put "double dabs(double);" in eval_me. Daniel
[Prev in Thread] | Current Thread | [Next in Thread] |