(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.