I get 6 copies of the below errors (so 12 errors)...

Error   1       error C2733: second C linkage of overloaded function
'_interlockedbittestandset64' not allowed       C:\Program Files\Microsoft
SDKs\Windows\v6.0\Include\winnt.h       1867
Error   2       error C2733: second C linkage of overloaded function
'_interlockedbittestandreset64' not allowed     C:\Program Files\Microsoft
SDKs\Windows\v6.0\Include\winnt.h       1873

But I can't find where a duplicate include is that I can remove.  I
tried removing some #include <windows.h> entries, but that messed up
the build even more.

[UPDATE] I just realized the package was trying to build for x64
instead of the Win32 like I expected.  The error disappears if I
switch the target to the 32 bit entry.  So might be a bug specifically
related to compiling against 64-bit in Windows?

Looks like the offenders are fipstest.cpp, hrtimer.cpp, network.cpp,
osrng.cpp, socketft.cpp, and trdlocal.cpp (the error occurs after it
says that file is being compiled).  But the errors point at the header
(doesn't really help).


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to