From 6b457882d011d218ab4764e71fc8d5edfb1d8a87 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 15 Sep 2011 11:55:35 +0300 Subject: We can't #define _HAS_ITERATOR_DEBUGGING 0 in just some of the source files It seems that _HAS_ITERATOR_DEBUGGING affects the layout of some classes, which of course means horrible breakage if some of the source files are compiled with it, the rest not. http://msdn.microsoft.com/en-us/library/aa985939%28v=vs.80%29.aspx http://connect.microsoft.com/VisualStudio/feedback/details/334315/has-iterator-debugging-0-causes-crash I will just have to fix the code in this handful of source files so that it compiles with _DEBUG defined. If I can be bothered. --- connectivity/source/manager/mdrivermanager.cxx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'connectivity/source') diff --git a/connectivity/source/manager/mdrivermanager.cxx b/connectivity/source/manager/mdrivermanager.cxx index d9ea11e6e8d7..be2df41e1744 100644 --- a/connectivity/source/manager/mdrivermanager.cxx +++ b/connectivity/source/manager/mdrivermanager.cxx @@ -26,13 +26,6 @@ * ************************************************************************/ -#ifdef _MSC_VER -// Avoid problem due to dubious std::equal_range usage when building -// with MSVC in --enable-dbgutil mode (i.e. _DEBUG defined, using the -// debugging C/C++ runtime) -#define _HAS_ITERATOR_DEBUGGING 0 -#endif - // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_connectivity.hxx" -- cgit