[phobos] Build broken again

Andrei Alexandrescu andrei at erdani.com
Sun Feb 24 23:55:46 PST 2013


I don't get how unittests were ever passsing.

Andrei

On 2/25/13 3:14 AM, Alex Rønne Petersen wrote:
> I could've sworn I saw that pull request passing tests. I guess not.
>
> Andrei, can you deal with this?
>
> On Mon, Feb 25, 2013 at 2:11 AM, Jonathan M Davis<jmdavisProg at gmx.com>  wrote:
>> One of the recent slew of pull request merges just broke the build - the
>> Phobos unit tests are failing. Given the error messages, it was probably the
>> pull relating to schwarzSort:
>>
>> Testing generated/linux/debug/64/unittest/std/algorithm
>> std/algorithm.d(9099): Error: function core.stdc.stdlib.free (void* ptr) is
>> not callable using argument types (char[])
>> std/algorithm.d(9099): Error: cannot implicitly convert expression (xform1) of
>> type char[] to void*
>> std/algorithm.d(9123): Error: template instance std.algorithm.schwartzSort!
>> (function char(Tuple!(char) c)
>> {
>> return c._expand_field_0;
>> }
>> , "a<  b", cast(SwapStrategy)0, Tuple!(char)[]) error instantiating
>> std/algorithm.d(9099): Error: function core.stdc.stdlib.free (void* ptr) is
>> not callable using argument types (double[])
>> std/algorithm.d(9099): Error: cannot implicitly convert expression (xform1) of
>> type double[] to void*
>> std/algorithm.d(9148): Error: template instance std.algorithm.schwartzSort!
>> (entropy, "a>  b", cast(SwapStrategy)0, double[][]) error instantiating
>> std/algorithm.d(9099): Error: function core.stdc.stdlib.free (void* ptr) is
>> not callable using argument types (double[])
>> std/algorithm.d(9099): Error: cannot implicitly convert expression (xform1) of
>> type double[] to void*
>> std/algorithm.d(9177): Error: template instance std.algorithm.schwartzSort!
>> (entropy, "a<  b", cast(SwapStrategy)0, double[][]) error instantiating
>> make[1]: *** [generated/linux/debug/64/unittest/std/algorithm] Error 1
>> make: *** [unittest] Error 2
>> phobos: unit tests failed.
>>
>>
>> - Jonathan M Davis
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list