Displaying 3 results from an estimated 3 matches for "_interlockedbittestandset".
2012 May 23
2
[LLVMdev] Windows question: Dozens of linker warnings and errors
...ses, a rare virtual
function, and nothing very fancy. I am able to compile my code without
warnings (although clang++ earlier on found a couple of very serious issues
in my code). But when I get to the link phase, all hell breaks loose:
I get a ton of these warnings:
Memory.o : warning LNK4006: _InterlockedBitTestAndSet already defined
in Stream.o; second definition ignored
Memory.o : warning LNK4006: _InterlockedBitTestAndReset already
defined in Stream.o; second definition ignored
Memory.o : warning LNK4006: _InterlockedBitTestAndComplement already
defined in Stream.o; second definition ignored
Memory.o : warnin...
2007 Nov 02
0
[PATCH] PVWin: Fix warnings
...7 +122,7 @@ EvtChn_Interrupt(WDFINTERRUPT Interrupt,
}
evtchn_port_t
-EvtChn_AllocUnbound(int Domain)
+EvtChn_AllocUnbound(domid_t Domain)
{
evtchn_alloc_unbound_t op;
@@ -178,7 +176,7 @@ EvtChn_Mask(evtchn_port_t Port)
{
//KdPrint((__DRIVER_NAME " --> EvtChn_Mask\n"));
- _interlockedbittestandset(&shared_info_area->evtchn_mask[0], Port);
+ _interlockedbittestandset((volatile LONG
*)&shared_info_area->evtchn_mask[0], Port);
//KdPrint((__DRIVER_NAME " <-- EvtChn_Mask\n"));
@@ -190,7 +188,7 @@ EvtChn_Unmask(evtchn_port_t Port)
{
KdPrint((__DRIVER_NAME "...
2012 May 24
0
[LLVMdev] Windows question: Dozens of linker warnings and errors
..., and nothing very fancy. I am able to compile my code without
> warnings (although clang++ earlier on found a couple of very serious issues
> in my code). But when I get to the link phase, all hell breaks loose:
>
> I get a ton of these warnings:
>
> Memory.o : warning LNK4006: _InterlockedBitTestAndSet already defined in
> Stream.o; second definition ignored
> Memory.o : warning LNK4006: _InterlockedBitTestAndReset already defined in
> Stream.o; second definition ignored
> Memory.o : warning LNK4006: _InterlockedBitTestAndComplement already defined
> in Stream.o; second definition...