www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - samples\hello.d contains a deprecated feature

A minor detail: -d option is needed to compile the examples distributed
with DMD.

C:\dmd\samples\d>dmd hello.d
hello.d(8): C style cast deprecated, use cast(char*)(args[i])

dhry.d and hello2.html also have the same problem.

-Antti


-- 
I will not be using Plan 9 in the creation of weapons of mass destruction
to be used by nations other than the US.
May 27 2004