X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Tue, 9 May 2006 14:22:06 -0400 Message-Id: <200605091822.k49IM6Y3016816@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <20060509173020.GA12724@darwin.sfbr.org> (message from JT Williams on Tue, 9 May 2006 12:30:21 -0500) Subject: Re: incompatible implicit declaration of built-in function... References: <446093bc$0$12932$91cee783 AT newsreader02 DOT highway DOT telekom DOT at> <20060509173020 DOT GA12724 AT darwin DOT sfbr DOT org> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > I searched the gcc docs and added '-fno-builtin' to the gcc > invocation to suppress the use of builtin prototypes. That doesn't remove the prototypes, that removes the *builtins* too. Thus, gcc will always call the library function, even if it could have replaced the call with a few opcodes. It's far better to include the right headers and get the best performance gcc can provide.