Why strcpy and not strtod?

Paolo Carlini pcarlini@unitus.it
Mon May 28 06:34:00 GMT 2001


Hi,

> 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:

http://gcc.gnu.org/ml/gcc-patches/2001-05/msg01765.html
http://gcc.gnu.org/ml/gcc-patches/2001-05/msg01766.html
http://gcc.gnu.org/ml/gcc-patches/2001-05/msg01767.html

involved this part of the compiler.

It seems that something is still not completely sorted out, however:

http://gcc.gnu.org/ml/libstdc++/2001-05/msg00363.html


Hope this helps,
Paolo Carlini.




More information about the Gcc mailing list