May 03, 2011
Every time I do a pull on druntime & phobos, something breaks. This time it's:


..\dmd -c -o- -O -release -nofloat -w -d -Df..\doc\phobos\std_bitmanip.html
std.ddoc std\bitmanip.d
std\bitmanip.d(359): Error: function core.bitop.bt (uint* p, uint bitnum) is not
callable using argu
ment types (const(uint*),uint)
std\bitmanip.d(359): Error: cannot implicitly convert expression (this.ptr) of
type const(uint*) to
uint*

--- errorlevel 1
May 04, 2011
Not sure what's causing this.  Looking at core.bitop, the declaration is:

    nothrow:
    pure int bt(in size_t* p, size_t bitnum);

Which is identical to the one in std.intrinsic.  Do you have an old version of core.bitop lingering somewhere?

On May 3, 2011, at 4:03 PM, Walter Bright wrote:

> Every time I do a pull on druntime & phobos, something breaks. This time it's:
> 
> 
> ..\dmd -c -o- -O -release -nofloat -w -d -Df..\doc\phobos\std_bitmanip.html std.ddoc std\bitmanip.d
> std\bitmanip.d(359): Error: function core.bitop.bt (uint* p, uint bitnum) is not callable using argu
> ment types (const(uint*),uint)
> std\bitmanip.d(359): Error: cannot implicitly convert expression (this.ptr) of type const(uint*) to
> uint*
> 
> --- errorlevel 1
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos