Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03772 Compiling Major Always Mar 11, 2010, 00:17 Sep 20, 2012, 08:25
Tester Malice View Status Public Platform MAME (Self-compiled)
Assigned To Resolution No change required OS
Status [?] Closed Driver
Version 0.136u4 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 03772: winsync.c: Error when compiling with msvc 2008.
Description Compiling src/osd/windows/winsync.c...
winsync.c
C:\sdk\vc2008\include\intrin.h(1040) : error C2733: second C linkage of overload
ed function '_interlockedbittestandset' not allowed
        C:\sdk\vc2008\include\intrin.h(1040) : see declaration of '_interlockedb
ittestandset'
C:\sdk\vc2008\include\intrin.h(1041) : error C2733: second C linkage of overload
ed function '_interlockedbittestandreset' not allowed
        C:\sdk\vc2008\include\intrin.h(1041) : see declaration of '_interlockedb
ittestandreset'
C:\sdk\vc2008\include\intrin.h(1046) : error C2733: second C linkage of overload
ed function '_interlockedbittestandset64' not allowed
        C:\sdk\vc2008\include\intrin.h(1046) : see declaration of '_interlockedb
ittestandset64'
C:\sdk\vc2008\include\intrin.h(1047) : error C2733: second C linkage of overload
ed function '_interlockedbittestandreset64' not allowed
        C:\sdk\vc2008\include\intrin.h(1047) : see declaration of '_interlockedb
ittestandreset64'
make: *** [obj/windows/vmame64/osd/windows/winsync.o] Error 2
Steps To Reproduce
Additional Information This error does not occur compiling MAME 0136.
Github Commit
Flags
Regression Version
Affected Sets / Systems winsync.c
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.08922
Firewave
Senior Tester
Sep 20, 2012, 08:25
0.147 compiles with VS2010 and VS2012. I don't have an older version of it, but it should be fine.