[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kde-common/admin
From:       Michael Matz <matz () kde ! org>
Date:       2005-04-18 12:58:04
Message-ID: 20050418125804.A24AC646 () office ! kde ! org
[Download RAW message or body]

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<typename CharT>
-          struct VisTest
+          #include <string>
+          int some_function( void ) __attribute__ ((visibility("default")));
+          int some_function( void )
           {
-            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 )
-          {
-            VisTest<char> a;
+            std::string s("blafasel");
             return 0;
           }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic