Loading include/my_global.h +1 −1 Original line number Diff line number Diff line Loading @@ -152,7 +152,7 @@ /* Fix problem when linking c++ programs with gcc 3.x */ #ifdef DEFINE_CXA_PURE_VIRTUAL #define FIX_GCC_LINKING_PROBLEM extern "C" { int __cxa_pure_virtual() {} } #define FIX_GCC_LINKING_PROBLEM extern "C" { int __cxa_pure_virtual() {return 0;} } #else #define FIX_GCC_LINKING_PROBLEM #endif Loading sql/mysqld.cc +2 −0 Original line number Diff line number Diff line Loading @@ -4651,4 +4651,6 @@ template class I_List<THD>; template class I_List_iterator<THD>; template class I_List<i_string>; template class I_List<i_string_pair>; FIX_GCC_LINKING_PROBLEM #endif Loading
include/my_global.h +1 −1 Original line number Diff line number Diff line Loading @@ -152,7 +152,7 @@ /* Fix problem when linking c++ programs with gcc 3.x */ #ifdef DEFINE_CXA_PURE_VIRTUAL #define FIX_GCC_LINKING_PROBLEM extern "C" { int __cxa_pure_virtual() {} } #define FIX_GCC_LINKING_PROBLEM extern "C" { int __cxa_pure_virtual() {return 0;} } #else #define FIX_GCC_LINKING_PROBLEM #endif Loading
sql/mysqld.cc +2 −0 Original line number Diff line number Diff line Loading @@ -4651,4 +4651,6 @@ template class I_List<THD>; template class I_List_iterator<THD>; template class I_List<i_string>; template class I_List<i_string_pair>; FIX_GCC_LINKING_PROBLEM #endif