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

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

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


Our way is peace.
		-- Septimus, the Son Worshiper, "Bread and Circuses",
		   stardate 4040.7.

Reply to: