From: Damien Fisher (damienf_at_[hidden])
Date: 2006-09-17 10:15:21
On 9/17/06, Peter Dimov <pdimov_at_[hidden]> wrote:
> Damien Fisher wrote:
> > While this might only be slightly annoying, I can't help but think
> > that the semantics of __declspec(dllexport) within a non-DLL are
> > undefined at best.
> __declspec(dllexport) is well-defined in an EXE, it declares the functions
> as exported. You can then link to them from the DLLs if you like. Its use in
> the serialization library is probably unintended, though.
Well that's my "learn-something-new-everyday" factoid for today :)
(obvious in retrospect).
It took me a bit of tinkering to realize why the .lib/.exp files were
getting generated, so either fixing the problem, or putting a note in
the FAQ explaining why this is needed, would be helpful.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk