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

Re: Re: Re: Implicition declarations of functions and bugs



Matthew R. Dempsky, le Sun 12 Mar 2006 14:09:54 -0600, a écrit :
> On Sun, Mar 12, 2006 at 11:21:40AM +0100, Bastian Blank wrote:
> > On Sat, Mar 11, 2006 at 01:43:34AM +0100, Samuel Thibault wrote:
> > > This is a warning and not an error, because using one's own strdup()
> > > function (that would take ints) is perfectly legal.
> > 
> > No, it is not. At least not with a compiler in hosted mode. In this
> > mode, the compiler is allowed to have any knowledge about the standard
> > library builtin. gcc 4.0 uses this to replace memcpy with its own
> > version.
> 
> gcc has the -fno-builtin and -fno-builtin-FUNCTION options.

Or better, -fno-hosted and -fhosted...



Reply to: