Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-07-08 19:30:23


From: "Boris Skidan" bskidan_at_[hidden]

> I'm building Python extension dll. I've created a simple Win32 dll
project.
>
> Why BOOST_PYTHON_NO_TEMPLATE_EXPORT isn't defined in
boost/python/detail/config.hpp for MSVC?

Because you can export template instantiations from dlls with MSVC.

> I'm using Boost version 1.28.0, MSVC6.
>
> I also get a lot of C4275 and C4251 warnings.
>
> I build using VisualStudio, not bjam. Is there any special settings I
should set for my project?

Yeah, the "bjam settings" ;-)
Seriously, you can build with bjam and -d+2 to see the command-lines it
uses. You'll need to get your MSVC project to replicate those if you want
to use Visual Studio.

HTH,
Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk