www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DWT build error function tango.io.FileSystem.FileSystem.toAbsolute is

reply tuanhoanganh <hatuan05 gmail.com> writes:
--0016e64ba30ad6f3710494204e4a
Content-Type: text/plain; charset=UTF-8

I am a newbie of D language and DWT.
When i build DWT (lastest hg) and D language 1.0.65 i have a error
"...\dwt-win\dwt\dwthelper\File.d(80): Error: function
tango.io.FileSystem.FileSystem.toAbsolute is deprecated"
How to fix it?
Thank in advance

Tuan Hoang Anh

--0016e64ba30ad6f3710494204e4a
Content-Type: text/html; charset=UTF-8

I am a newbie of D language and DWT.<br>When i build DWT (lastest hg) and D
language 1.0.65 i have a error &quot;...\dwt-win\dwt\dwthelper\File.d(80):
Error: function tango.io.FileSystem.FileSystem.toAbsolute is
deprecated&quot;<br>
How to fix it?<br>Thank in advance<br><br>Tuan Hoang Anh<br>

--0016e64ba30ad6f3710494204e4a--
Nov 02 2010
parent Moritz Warning <moritzwarning web.de> writes:
On Wed, 03 Nov 2010 13:39:49 +0700, tuanhoanganh wrote:

 I am a newbie of D language and DWT.
 When i build DWT (lastest hg) and D language 1.0.65 i have a error
 "...\dwt-win\dwt\dwthelper\File.d(80): Error: function
 tango.io.FileSystem.FileSystem.toAbsolute is deprecated" How to fix it?
 Thank in advance
 
 Tuan Hoang Anh
 I am a newbie of D language and DWT.<br>When i build DWT (lastest hg)
 and D language 1.0.65 i have a error
 &quot;...\dwt-win\dwt\dwthelper\File.d(80): Error: function
 tango.io.FileSystem.FileSystem.toAbsolute is deprecated&quot;<br> How to
 fix it?<br>Thank in advance<br><br>Tuan Hoang Anh<br>

Try to change tango.io.FileSystem.FileSystem.toAbsolute to tango.io.FilePath.absolute
Nov 03 2010