id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 6245,Make Boost.RegEx DLL usable from managed C++/CLI and non-managed native C++ modules at the same time,0xcdcdcdcd@…,John Maddock,"Referencing [http://permalink.gmane.org/gmane.comp.lib.boost.devel/226293]: .. _MANAGED is a define set by the VC compiler if the /clr switch is present, therefore it is actually never set when compiling the boost libraries. Of course you can set it via `define=_MANAGED` and you can then use these generated libraries from a C++/CLI project. (Which I have done: ... `define=_MANAGED` ... --with-regex ...) BUT: You can now *not* use these libraries from a non-managed (""native"") C++ project as that, obviously, doesn't have _MANAGED set, and unlike with the boost build, I don't think it's feasible to define this wholesale for a native project. (And anyways, I'm rather hesitant to define this myself.) ... ... On 02.12.2011 10:29, John Maddock wrote: >> (I have attached a patch, hope this works.) >> >> >> Would this make sense? > > Makes sense to me - I don't have time to test this just now, can you > file a new issue on svn.boost.org so I don't forget? ",Patches,closed,To Be Determined,regex,Boost 1.48.0,Problem,fixed,regex managed,boost.regex@…