[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] TCC bug: error compile rint() from math.h
From: |
Marc Andre Tanner |
Subject: |
Re: [Tinycc-devel] TCC bug: error compile rint() from math.h |
Date: |
Sat, 22 Nov 2008 15:27:19 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sat, Nov 22, 2008 at 01:13:57PM +0100, Masha Rabinovich wrote:
> // Expected result:
> // compilation without error
> //
> // Received result:
> // compilation error with invalid line number:
> //
> // 1.c:361: unknown constraint 't'
> //
>
> #include <math.h>
> main()
> {
> printf("%f\n", rint(3.14));
> }
I guess this depends on the content of math.h which comes from your
libc. The example above works here on a glibc based linux system.
Regards,
Marc
--
Marc Andre Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0