Using Visual Studio 2008 and Boost Libraries 1.46.1 I want to compile and link the following with the /CLR flag:
#include
voi
I've already run into this problem, i don't remember where i got this but one workaround is declare "boost.detail.win32._SECURITY_ATTRIBUTES" after including all the boost headers like so.
namespace boost {
namespace detail {
namespace win32 {
struct _SECURITY_ATTRIBUTES: public ::_SECURITY_ATTRIBUTES {};
};
};
};
Remove the namespaces if you want everyone to see it.