# Compile error in SVN - error C2733: second C linkage of over

#1

I’m getting a compile error in SVN:

juce_Socket.cpp
c:\program files\microsoft visual studio 8\vc\include\intrin.h(944) : error C2733: second C linkage of overloaded function ‘_interlockedbittestandset’ not allowed
c:\program files\microsoft visual studio 8\vc\include\intrin.h(944) : see declaration of ‘_interlockedbittestandset’

I realise you’re probably already aware but I thought I’d post it anyway. This is WinXP + VC8 Express.

Cheers

#2

My solution to the same problem was to set the correct include path for the project.

For me “C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include” worked, but it depends on what SDK you have installed. BTW I’m on VC9.