This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Why strcpy and not strtod?


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]