Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
December 18, 2006 build mango | ||||
---|---|---|---|---|
| ||||
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 Re: build mango | ||||
---|---|---|---|---|
| ||||
Posted in reply to Laurent Dubuisson | 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 Re: build mango | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chris Nicholson-Sauls | 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 Re: build mango | ||||
---|---|---|---|---|
| ||||
Posted in reply to Laurent Dubuisson | 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 Re: build mango | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Demme | Thanks |
Copyright © 1999-2021 by the D Language Foundation