[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_4_BRANCH: kde-common/admin
From: Michael Matz <matz () kde ! org>
Date: 2005-04-18 13:17:29
Message-ID: 20050418131729.10244646 () office ! kde ! org
[Download RAW message or body]
CVS commit by matz:
Backport from trunk:
Better configure check for -fvisibility-inline-hidden (needed for ppc
and ppc64).
M +4 -12 acinclude.m4.in 2.499.6.4
--- kde-common/admin/acinclude.m4.in #2.499.6.3:2.499.6.4
@@ -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