|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
D.gnu - [Issue 1888] New: unfortunate comment in stdlib.d
http://d.puremagic.com/issues/show_bug.cgi?id=1888 Summary: unfortunate comment in stdlib.d Product: DGCC aka GDC Version: unspecified Platform: All OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: dvdfrdmn users.sf.net ReportedBy: afb algonet.se (GDC r199) Got a strange error with the innocent alias std.c.stdlib.atof atof; (whilst trying to keep std.string and std.c.stdlib apart) Error: identifier 'atof' of 'std.c.stdlib.atof' is not defined Turned out the placement of the comment was unfortunate: version (GNU) { private import gcc.config.errno; alias gcc.config.errno.ERANGE ERANGE; } else //const int ERANGE = 34; // on both Windows and linux double atof(char *); /// int atoi(char *); /// ditto Alternatively, it forgot to comment out the else. -- Mar 03 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1888 dvdfrdmn users.sf.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from dvdfrdmn users.sf.net 2008-04-16 19:30 ------- Fixed in release 0.25 / svn 210 -- Apr 16 2008
|