|
Boost : |
From: Thomas Witt (witt_at_[hidden])
Date: 2006-05-25 01:14:54
David Abrahams wrote:
> David Abrahams <dave_at_[hidden]> writes:
>
>> There is also at least one macro in that category: BOOST_EXPORT. That
>> in particular seems likely to cause problems, because after all
>> "export" is a keyword that's supported only on a few compilers and a
>> natural stand-in, for those who want to support export, would be
>> BOOST_EXPORT. This should've been BOOST_SERIALIZATION_EXPORT.
>
> BOOST_DLLEXPORT, BOOST_USED, ...
If that macro does what I think it does BOOST_DLLEXPORT is a bad choice.
DLL exporting macros *must* be library specific otherwise boost
libraries can not use each other. For an example look at the AFX_DLL
mess MS created.
Thomas
-- Thomas Witt witt_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk