This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linkfailures on amd64 with -fvisibility-inlines-hidden and the libstdc++ headers or symbols


On Thu, Jan 27, 2005 at 08:41:34PM -0600, Benjamin Kosnik <benjamin.kosnik@gmail.com> wrote:
> Hey. Can you open up a libstdc++ bug in gcc bugzilla with this? Please
> include the other links you've noticed, and the testcase.
> 
> -benjamin
I reduced my example, it now only includes these lines:
template<typename CharT>
struct VisTest
{
    inline VisTest ();
};
template<typename CharT>
inline VisTest<CharT>::VisTest()
{}
extern template class VisTest<char>;  // It works if we drop that line
int some_function( int do_something ) __attribute__
((visibility("default")));
int some_function( int do_something )
{
    VisTest<char> a;
      return 0;
}

The bug can befound at:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664

Regards 
Andreas Pokorny

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]