Thread overview
build mango
Dec 18, 2006
Laurent Dubuisson
Dec 18, 2006
Laurent Dubuisson
Dec 18, 2006
John Demme
Dec 19, 2006
Laurent Dubuisson
December 18, 2006
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.
December 18, 2006
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
December 18, 2006
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.
December 18, 2006
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/
December 19, 2006
Thanks