HelloWordl in Webserver
Xan
xancorreu at gmail.com
Tue Apr 3 01:45:51 PDT 2012
On Tuesday, 3 April 2012 at 08:42:01 UTC, Xan wrote:
> I receive errors:
>
> xan at gerret:~/proves/dlang-proves$ ls
> cgi.d functions.d httpd.d netman.d server.d
> xan at gerret:~/proves/dlang-proves$ gdmd-4.6 server.d cgi.d
> netman.d httpd.d
> httpd.d:5: Error: module netman is in file 'arsd/netman.d'
> which cannot be read
> import path[0] = /usr/include/d2/4.6/i686-linux-gnu
> import path[1] = /usr/include/d2/4.6
>
>
> What fails?
>
> I use gdmd instead of dmd
>
>
It works when I change arsd.<name> to <name> in import.But I
receive several warnings:
$ gdmd-4.6 server.d cgi.d netman.d httpd.d
Notice: As of Phobos 2.055, std.date and std.dateparse have been
deprecated. They will be removed in February 2012. Please use
std.datetime instead.
netman.d:428: Error: function std.date.getUTCtime is deprecated
I suspect your code is too elder.
Thanks,
More information about the Digitalmars-d-learn
mailing list