tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Nevermind my previous comments. I just made an error.


From: arnold
Subject: Re: [Tinycc-devel] Nevermind my previous comments. I just made an error.
Date: Sun, 10 Jan 2016 06:15:38 -0700
User-agent: Heirloom mailx 12.4 7/29/08

> On 2016-01-10 02:36:45 -0800, Ben Hutchinson wrote:
> > I was working with the atan2 function, and it kept glitching all over the
> > place. Turns out I forgot to include this line at the top of my code:
> > #include <math.h>

Vincent Lefevre <address@hidden> wrote:
> Is there any reason why tcc hasn't rejected the code because the
> prototype wasn't declared?

Because C default declares functions for you. It's as if it was
declared

        int atan2(...);

This may have gone away in C11 but I'm not sure.

Arnold



reply via email to

[Prev in Thread] Current Thread [Next in Thread]