[phobos] Need to start wrapping up this release

Walter Bright walter at digitalmars.com
Mon Jul 26 14:32:44 PDT 2010


Sigh, there are more problems with 344. Now the dll test suite fails to 
compile:

..\dmd -g -d -ofmydll2.dll -version=use_patch mydll2.d dll2.d mydll2.def
std.contracts has been scheduled for deprecation. Please use 
std.exception instead.
dll2.d(49): Error: undefined identifier thread_setNeedLock
dll2.d(53): Error: function 
core.thread_helper.thread_helper_aux.enumProcessThreads (uint procid, bo
ol function(uint id, void* context) dg, void* context) is not callable 
using argument types (_error_
 function(uint id, void* context),void*)
dll2.d(53): Error: cannot implicitly convert expression (__funcliteral1) 
of type _error_ function(ui
nt id, void* context) to bool function(uint id, void* context)
dll2.d(92): Error: function 
core.thread_helper.thread_helper_aux.enumProcessThreads (uint procid, bo
ol function(uint id, void* context) dg, void* context) is not callable 
using argument types (_error_
 function(uint id, void* context),void*)
dll2.d(92): Error: cannot implicitly convert expression (__funcliteral3) 
of type _error_ function(ui
nt id, void* context) to bool function(uint id, void* context)
dll2.d(138): Error: no property 'findThread' for type 'core.thread.Thread'

It makes me very nervous that wholesale changes were made to the dll 
interface, and none of it was even checked to see if it compiled, and 
now the test suite for it is completely broken.

Don Clugston wrote:
> I just checked in a fix for that.
>
> On 26 July 2010 22:05, Walter Bright <walter at digitalmars.com> wrote:
>   
>> The following druntime checkin:
>>
>> http://www.dsource.org/projects/druntime/changeset/344
>>
>> breaks the build:
>>
>> src\core\dll_helper.d(372): Error: undefined identifier thread_detach
>> src\core\thread.d(1856): Error: undefined identifier obj
>>
>> Sean, can you please fix?
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
>>
>>     
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>
>
>   


More information about the phobos mailing list