Re: [boost] defining export pragmas for windows.
by John Maddock other posts by this author
Sep 10 2003 12:06PM messages near this date
[boost] defining export pragmas for windows.
|
[boost] qeuestion about
> 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.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Paul Hamilton
John Maddock
|