>>>>> "Sam" == Sam Lauber <[EMAIL PROTECTED]> writes:

 >> > The documentation for -fvisibility=hidden suggets that this
 >> switch is > useful for shared libraries, to make things smaller
 >> and faster.  It > doesn't seem to be appropriate for object
 >> libraries.

 >> It's done *exactly* so that we catch this bug in your configury.

 Sam> I don't know about you, but forcing a link failure in good code
 Sam> just because someone screwed up GCC configuration is probably
 Sam> the of the most worst compiler hacker's sins.

In this case it's the same person being affected, so that's not such a
big deal.

What surprises me is that it's normally ok to mix static and shared
libs, but not here.  And the message is utterly uninformative about
what is wrong or why the restriction exists.

     paul

Reply via email to