Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2003-09-10 07:06:43


> I have copied REGEX and other boost libs and defined my "DECL" macros
> to place before external synbols like so:
> My problem is that I am building on gcc on windows (which ALSO needs
> _declspecs), so how do I do this:
>
> #if defined(_MSVC) && defined(_DLL)
> # define PERSIST_HAS_DLL_RUNTIME
> #endif
>
> In the correct "boost-like" way so that it will correctly detect GCC on
> windows, and building a DLL?

Try BOOST_HAS_DECLSPEC (it's in the cvs but not the last release), I'm
trying to write up the whole library-with-source howto steps as well, but I
keep getting distracted....

John.


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