6 Oct
2008
6 Oct
'08
11:36 a.m.
Alice Johnson:
When I include
in a file that has Compile as Managed set to Assembly support (/clr), I get: error C2373: 'InterlockedIncrement' : redefinition; different type modifiers C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinBase.h(1298) : see declaration of 'InterlockedIncrement'
I started with boost version 1.34.1, but have also tried 1.35.0 and 1.36.0
Is there any solution to this?
Does it work if you define the macro BOOST_USE_WINDOWS_H in the project settings?