From 4ec3dfe8a29e5b3dd0a0dc7afa23b7da90ddb1d5 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Fri, 12 Dec 2003 22:46:40 +0000 Subject: "" svn path=/trunk/; revision=1218 --- externals/grill/flext/source/flsupport.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'externals/grill/flext/source/flsupport.h') diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h index 283466ac..c964c66e 100644 --- a/externals/grill/flext/source/flsupport.h +++ b/externals/grill/flext/source/flsupport.h @@ -69,6 +69,10 @@ public: //! @} FLEXT_S_MEMORY }; +// at the moment it's a real problem that global overloading of allocators +// clashes with MFC (e.g. in vst~) +// therefore... try to think over it +#if 0 #if !defined(_MSC_VER) && !defined(__BORLANDC__) #define NEWTHROW throw(std::bad_alloc) @@ -86,6 +90,8 @@ inline void *operator new[](size_t bytes) NEWTHROW { return flext_root::operator inline void operator delete[](void *blk) DELTHROW { flext_root::operator delete[](blk); } #endif +#endif + class FLEXT_SHARE FLEXT_CLASSDEF(flext); typedef class FLEXT_CLASSDEF(flext) flext; -- cgit v1.2.1