Boost logo

Boost Users :

From: Kofi Deh (kofi.deh_at_[hidden])
Date: 2008-07-14 15:49:44


I am trying to integrate a command-line program, that uses the BOOST UBLAS
library, with a Windows Forms GUI. I get the following error when I attempt
to compile the code:

Error 1 error C3389: __declspec(dllexport) cannot be used with
/clr:pure or /clr:safe C:\Program
Files\boost\boost_1_35_0\boost\serialization\void_cast_fwd.hpp 26
Error 2 error C3395: 'boost::serialization::void_cast_register' :
__declspec(dllexport) cannot be applied to a function with the __clrcall
calling convention C:\Program
Files\boost\boost_1_35_0\boost\serialization\void_cast_fwd.hpp 30

I am not linking the program to the Boost Serialization library. I realize
there have already been discussions on the use of BOOST_DLLEXPORT in the
serialization library. Unfortunately, it was not stated how to solve this
problem.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net