[D-runtime] Windows DLL support breaks again with latest druntime

Alex Rønne Petersen xtzgzorex at gmail.com
Fri May 11 15:37:42 PDT 2012


The command line Walter posted included -d.

We really should stop using that function in druntime, phobos, etc...

Regards,
Alex

On Sat, May 12, 2012 at 12:30 AM, Sean Kelly <sean at invisibleduck.org> wrote:
> The dll example clearly needs to be updated, but I find it interesting that it didn't fail before when compiling against a deprecated function?  Do these tests have -d on the command-line, or is it enough hat core.thread itself is build with -d?
>
> On May 11, 2012, at 3:05 PM, Alex Rønne Petersen wrote:
>
>> It had been deprecated for eons and was finally removed recently. The
>> new function to use is thread_findByAddr.
>>
>> Regards,
>> Alex
>>
>> On Sat, May 12, 2012 at 12:02 AM, Walter Bright <walter at digitalmars.com> wrote:
>>> ..\dmd -g -d -ofmydll2.dll -version=use_patch mydll2.d dll2.d mydll2.def
>>> dll2.d(53): Error: no property 'findThread' for type 'core.thread.Thread'
>>>
>>> --- errorlevel 1
>>> _______________________________________________
>>> D-runtime mailing list
>>> D-runtime at puremagic.com
>>> http://lists.puremagic.com/mailman/listinfo/d-runtime
>> _______________________________________________
>> D-runtime mailing list
>> D-runtime at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/d-runtime
>
> _______________________________________________
> D-runtime mailing list
> D-runtime at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime


More information about the D-runtime mailing list