digitalmars.D.bugs - atof conflicts
- no where.com (2/2) Nov 04 2004 D:\project\dmd\bin\..\src\phobos\std\string.d(44): function std.string.a...
- J C Calvarese (11/13) Nov 06 2004 I don't think it's a bug.
- Thomas Kuehne (12/18) Nov 06 2004 It looks like a botched error message is the first problem.
D:\project\dmd\bin\..\src\phobos\std\string.d(44): function std.string.atof conf licts with std.math2.atof at D:\project\dmd\bin\..\src\phobos\std\math2.d(772)
Nov 04 2004
no where.com wrote:D:\project\dmd\bin\..\src\phobos\std\string.d(44): function std.string.atof conf licts with std.math2.atof at D:\project\dmd\bin\..\src\phobos\std\math2.d(772)I don't think it's a bug. If you give a snippet of code, we can probably tell you what you need to do to get rid of the conflict. You probably need to add something like this: alias std.string.atof atof; or alias std.math2.atof atof; -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
Nov 06 2004
"J C Calvarese" <jcc7 cox.net> schrieb im Newsbeitrag news:cmja16$2kfm$1 digitaldaemon.com...no where.com wrote:It looks like a botched error message is the first problem. std/string.d:44 std/string.d:96 std/math2.d:772 The second bug is that either the std.math2 or std.string atof(char[]) should be removed and aliased to the remaining atof(char[]). ThomasD:\project\dmd\bin\..\src\phobos\std\string.d(44): function std.string.atof conf licts with std.math2.atof at D:\project\dmd\bin\..\src\phobos\std\math2.d(772)I don't think it's a bug. If you give a snippet of code, we can probably tell you what you need to do to get rid of the conflict.
Nov 06 2004