From kde-commits Mon Apr 18 12:58:04 2005 From: Michael Matz Date: Mon, 18 Apr 2005 12:58:04 +0000 To: kde-commits Subject: kde-common/admin Message-Id: <20050418125804.A24AC646 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111382910225100 CVS commit by matz: Better configure check for -fvisibility-inline-hidden. M +4 -12 acinclude.m4.in 2.506 --- kde-common/admin/acinclude.m4.in #2.505:2.506 @@ -3218,17 +3218,9 @@ [ /* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664 */ - template - struct VisTest + #include + int some_function( void ) __attribute__ ((visibility("default"))); + int some_function( void ) { - inline VisTest (); - }; - template - inline VisTest::VisTest() - {} - extern template class VisTest; // It works if we drop that line - int some_function( int do_something ) __attribute__ ((visibility("default"))); - int some_function( int ) - { - VisTest a; + std::string s("blafasel"); return 0; }