HelloWordl in Webserver
Xan
xancorreu at gmail.com
Tue Apr 3 12:07:08 PDT 2012
>>
>> Thanks,
>
> You can just comment out the code there (afaik it is only a
> custom formatting routine), or compile with the -d flag.
$ gdmd-4.6 -d 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.
httpd.d:72: Error: undefined identifier peerAddress
httpd.d:72: Error: constructor cgi.Cgi.this (long
maxContentLength = cast(long)5000000, in
const(immutable(char)[][string]) env = null, const(ubyte)[]
delegate() readdata = null, void delegate(const(ubyte)[])
_rawDataOutput = null) is not callable using argument types
(string[],immutable(ubyte)[],_error_,void
delegate(const(ubyte)[]))
What happens now?
More information about the Digitalmars-d-learn
mailing list