D1 & D2 alpha's for Win64

Walter Bright newshound2 at digitalmars.com
Sat Oct 20 08:29:18 PDT 2012


On 10/19/2012 11:19 PM, Walter Bright wrote:
> On 10/19/2012 9:30 PM, Jesse Phillips wrote:
>  > test.obj : error LNK2019: unresolved external symbol InterlockedIncrement
>  > referenced in function _Dmain
>
> InterlockedIncrement is a VC compiler intrinsic, which is why it isn't in the
> library.

Probably the best way to deal with this at the moment is to write a .c file that 
calls InterlockedIncrement, compile it with VC, disassemble the result, and do 
the same with inline asm in D.


More information about the Digitalmars-d-announce mailing list