From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-02-26 09:28:56
> I need to have some DLL created with custom extensions and I am getting
> warnings when I do that by deriving a type from SHARED_LIB. I'm
> attaching a test case that reproduces the conditions under which the
> problem occurs.
First off, thanks for providing full-blown test case. Now to the problem:
I don't have a solution yet.
The real issue is that the "lib" target handling consists of two parts: the
generators, and a "main target class". The latter contains logic to avoid
warnings in some cases.
When you just derive a type, generators still work okay, but the "main target
class" is not used, so you get the warning.
I think that's a design problem. Generators are quite reusable, but "main
target classes" are not. I'll try to present some kind of a solution in near
If the warning really bothers you, you might want to find call to
'check-for-unused-sources' in targets.jam and comment it out ;-)
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk