|
Boost : |
From: Howard Hinnant (hinnant_at_[hidden])
Date: 2004-09-27 09:46:07
On Sep 27, 2004, at 2:37 AM, Vladimir Prus wrote:
> Howard, could you clarify if requiring declspec is a bug in Metroweks,
> given
> that VC7.1 works without it, or result of a somewhat different DLL
> handling
> -- which can't be changed?
It is difficult to say. There are no standard rules for DLL handling,
and behavior varies not only from compiler to compiler, but also from
OS to OS.
The C++ committee is attempting to address this situation, so there is
hope that the future will be brighter. For now I recommend the
generous use of #ifdef . ;-(
-Howard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk