Commit 78fb71b0 authored by unknown's avatar unknown

bug#10330 - linking with ndb fails

  changes to handling of new/delete cxa_pure_virtual has changed in mysys
  remove "ndb"'s own impl. as they are no longer needed as we link mysys at all places


ndb/src/common/portlib/gcc.cpp:
  remove ndb __cxa_pure_virtual
ndb/src/common/util/new.cpp:
  remove "ndb" new/delete
parent 7b4374f6
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
/** /**
* GCC linking problem... * GCC linking problem...
*/ */
#ifdef DEFINE_CXA_PURE_VIRTUAL #if 0
extern "C" { int __cxa_pure_virtual() { return 0;} } extern "C" { int __cxa_pure_virtual() { return 0;} }
#endif #endif
...@@ -6,7 +6,7 @@ extern "C" { ...@@ -6,7 +6,7 @@ extern "C" {
void (* ndb_new_handler)() = 0; void (* ndb_new_handler)() = 0;
} }
#ifdef USE_MYSYS_NEW #if 0
void *operator new (size_t sz) void *operator new (size_t sz)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment