This is the mail archive of the
mailing list for the GCC project.
Re: Why strcpy and not strtod?
Paolo Carlini wrote:
> > What I do not understand is why strtod is accepted (after having included
> > <cstdlib>).
> Most probably this has to do with the fact that strcpy is a builtin whereas strtod
> is not.
> Recent patches by Mark Mitchell:
> involved this part of the compiler.
> It seems that something is still not completely sorted out, however:
> Hope this helps,
> Paolo Carlini.
I've found a similar problem with today's gcc 3.0 sources. When I use
to compile a source file that uses strcmp() from <string.h> the
(*.ii) file has the definition from <string.h> but the compiler tells
`strcmp' undeclared (first use this function)
Are these problems related?
Robert Boehne Software Engineer
Ricardo Software Chicago Technical Center
TEL: (630)789-0003 x. 238