Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-05-25 10:10:44


Thomas Witt <witt_at_[hidden]> writes:

> 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.

Yes, I know. I didn't even want to touch *that* issue until the
larger issue of namespacing/prefixing was addressed.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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