[D-runtime] [D-Programming-Language/druntime] cef9bd: changes to build and pass unittests

Rainer Schuetze r.sagitario at gmx.de
Sat Nov 24 00:03:26 PST 2012


On 11/23/2012 9:15 PM, GitHub wrote:
>    Branch: refs/heads/master
>    Home:   https://github.com/D-Programming-Language/druntime
>    Commit: cef9bd58376f9b669fd8a329a99069e4996f9b89
>        https://github.com/D-Programming-Language/druntime/commit/cef9bd58376f9b669fd8a329a99069e4996f9b89
>    Author: Brad Roberts <braddr at puremagic.com>
>    Date:   2012-11-23 (Fri, 23 Nov 2012)
>
>    Changed paths:
>      M src/core/bitop.d
>      M src/core/thread.d
>      M win64.mak
>
>    Log Message:
>    -----------
>    changes to build and pass unittests
>
> 1) temporarily disable fibre tests
> 2) fix core.bitops.bitswap to understand win64 calling convention

Cool. I was hitting this problem aswell, but didn't know what to do 
about it.

> 3) remove -L/co and add user32.lib to unittest build command

I think the root problem here is that windows.d forwards CreateWindowA 
to CreateWindowExA, producing code where only declarations are expected. 
It just adds unexpected DLL dependencies. Do you know why this is done?

BTW: At the same time I noticed that most of the functions in windows.d 
are decorated with "export". Isn't this unnecessary and misleading?



More information about the D-runtime mailing list