www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - build mango

reply Laurent Dubuisson <skaith_a yahoo.com> writes:
Hello,

Using latest bud builder version I got a Format.d (420) Error cannot 
implicitly convert expression (0) of type int to Flags from the latest 
SVN MAngo tree.

Any ideas how to solve ?

Cheers,
Laurent.
Dec 18 2006
next sibling parent reply Chris Nicholson-Sauls <ibisbasenji gmail.com> writes:
Laurent Dubuisson wrote:
 Hello,
 
 Using latest bud builder version I got a Format.d (420) Error cannot 
 implicitly convert expression (0) of type int to Flags from the latest 
 SVN MAngo tree.
 
 Any ideas how to solve ?
 
 Cheers,
 Laurent.

Yep. Open up mango/convert/Format.d and change line 420 from: # flags = 0; To: # flags = cast(Flags)0; Done. :) -- Chris Nicholson-Sauls
Dec 18 2006
parent Laurent Dubuisson <skaith_a yahoo.com> writes:
Chris Nicholson-Sauls wrote:
 Laurent Dubuisson wrote:
 Hello,

 Using latest bud builder version I got a Format.d (420) Error cannot 
 implicitly convert expression (0) of type int to Flags from the latest 
 SVN MAngo tree.

 Any ideas how to solve ?

 Cheers,
 Laurent.

Yep. Open up mango/convert/Format.d and change line 420 from: # flags = 0; To: # flags = cast(Flags)0; Done. :) -- Chris Nicholson-Sauls

Thanks, Worked. Now have : C:\Coding\lib\mango\build>bud mango C:\Coding\lib\mango\mango\http\utils\Dictionary.d(174): Error: e2ir: cannot cast from void*[] to char[][char[]] The source line is : dictionary = cast(char[][char[]]) tmp; Sorry, but I'm quite new to the D syntax. Cheers, Laurnet.
Dec 18 2006
prev sibling parent reply John Demme <me teqdruid.com> writes:
Laurent Dubuisson wrote:

 Hello,
 
 Using latest bud builder version I got a Format.d (420) Error cannot
 implicitly convert expression (0) of type int to Flags from the latest
 SVN MAngo tree.
 
 Any ideas how to solve ?
 
 Cheers,
 Laurent.

Compile with -d to enable deprecated features. Mango has not been updated to the latest DMD yet. -- ~John Demme me teqdruid.com http://www.teqdruid.com/
Dec 18 2006
parent Laurent Dubuisson <skaith_a yahoo.com> writes:
Thanks
Dec 19 2006