summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorserg@serg.mylan <>2005-04-30 19:48:45 +0200
committerserg@serg.mylan <>2005-04-30 19:48:45 +0200
commit9c332d8d2a09782ebc773387556f85e63433cd1d (patch)
tree74e86b2737e0e781445fade0c11a388a26d923e5 /mysys
parent328f2e434a2289c9c9dcf0178c996f5269310391 (diff)
downloadmariadb-git-9c332d8d2a09782ebc773387556f85e63433cd1d.tar.gz
yassl changeset 2:
remove FIX_GCC_LINKING_PROBLEM and -DDEFINE_CXA_PURE_VIRTUAL replace echo in configure.in with AC_MSG_WARN/AC_MSG_ERROR don't set -DUSE_MYSYS_NEW for gcc 2.95 set $USE_MYSYS_NEW even if CXX is g++ yassl bugfixes instantiate all yassl templates explicitly
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_new.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysys/my_new.cc b/mysys/my_new.cc
index 14423c3afd5..66f3a14eeb4 100644
--- a/mysys/my_new.cc
+++ b/mysys/my_new.cc
@@ -45,5 +45,14 @@ void operator delete[] (void *ptr) throw ()
free(ptr);
}
+C_MODE_START
+
+int __cxa_pure_virtual() {
+ assert("Pure virtual method called." == "Aborted");
+ return 0;
+}
+
+C_MODE_END
+
#endif /* USE_MYSYS_NEW */