ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved