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; }