Commit ed327104 authored by unknown's avatar unknown
Browse files

bug#7777 - ndb compile on qnx

  remove usage of compiler supplied <new> and instead
  impl. own inlined placement new


ndb/include/kernel/AttributeHeader.hpp:
  remove usage <new>
ndb/include/ndb_global.h.in:
  remove usage <new>
  instead impl. own
ndb/src/kernel/blocks/backup/BackupInit.cpp:
  remove usage <new>
ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
  remove usage <new>
ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
  remove usage <new>
ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
  remove usage <new>
ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
  remove usage <new>
ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
  remove usage <new>
ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
  remove usage <new>
ndb/src/kernel/blocks/grep/GrepInit.cpp:
  remove usage <new>
ndb/src/kernel/blocks/suma/SumaInit.cpp:
  remove usage <new>
ndb/src/kernel/vm/Emulator.cpp:
  remove usage <new>
ndb/src/kernel/vm/SimulatedBlock.hpp:
  remove usage <new>
ndb/src/mgmapi/mgmapi_configuration.cpp:
  remove usage <new>
parent 153160d1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
#ifndef ATTRIBUTE_HEADER
#define ATTRIBUTE_HEADER

#include <new>
/**
 * @class AttributeHeader
 * @brief Header passed in front of every attribute value in AttrInfo signal
+2 −4
Original line number Diff line number Diff line
@@ -138,10 +138,8 @@ static const char table_name_separator = '/';
#endif

#ifdef  __cplusplus
#include <new>
#endif

#ifdef  __cplusplus
inline void* operator new(size_t, void* __p) { return __p; }
inline void* operator new[](size_t, void* __p) { return __p; }
extern "C" {
#endif
	
+0 −1
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@
//===========================================================================
#include "Backup.hpp"

#include <new>
#include <Properties.hpp>
#include <Configuration.hpp>

+0 −1
Original line number Diff line number Diff line
@@ -39,7 +39,6 @@

#include <EventLogger.hpp>
#include <TimeQueue.hpp>
#include <new>

#include <NdbSleep.h>
#include <SafeCounter.hpp>
+0 −1
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@
#define DBDIH_C
#include "Dbdih.hpp"
#include <ndb_limits.h>
#include <new>

#define DEBUG(x) { ndbout << "DIH::" << x << endl; }

Loading