[Libreoffice-commits] .: connectivity/source fpicker/source oox/source sw/source
Tor Lillqvist
tml at kemper.freedesktop.org
Thu Sep 15 02:03:41 PDT 2011
connectivity/source/manager/mdrivermanager.cxx | 7 -------
fpicker/source/office/OfficeControlAccess.cxx | 4 ----
oox/source/helper/containerhelper.cxx | 4 ----
sw/source/core/crsr/crbm.cxx | 4 ----
sw/source/core/doc/docbm.cxx | 4 ----
sw/source/core/unocore/unoportenum.cxx | 4 ----
sw/source/filter/writer/writer.cxx | 4 ----
7 files changed, 31 deletions(-)
New commits:
commit 6b457882d011d218ab4764e71fc8d5edfb1d8a87
Author: Tor Lillqvist <tlillqvist at suse.com>
Date: Thu Sep 15 11:55:35 2011 +0300
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.
diff --git a/connectivity/source/manager/mdrivermanager.cxx b/connectivity/source/manager/mdrivermanager.cxx
index d9ea11e..be2df41 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"
diff --git a/fpicker/source/office/OfficeControlAccess.cxx b/fpicker/source/office/OfficeControlAccess.cxx
index 8a0f0a1..50632bf 100644
--- a/fpicker/source/office/OfficeControlAccess.cxx
+++ b/fpicker/source/office/OfficeControlAccess.cxx
@@ -26,10 +26,6 @@
*
************************************************************************/
-#ifdef _MSC_VER
-#define _HAS_ITERATOR_DEBUGGING 0
-#endif
-
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_fpicker.hxx"
diff --git a/oox/source/helper/containerhelper.cxx b/oox/source/helper/containerhelper.cxx
index ff0c043..b4af735 100644
--- a/oox/source/helper/containerhelper.cxx
+++ b/oox/source/helper/containerhelper.cxx
@@ -26,10 +26,6 @@
*
************************************************************************/
-#ifdef _MSC_VER
-#define _HAS_ITERATOR_DEBUGGING 0
-#endif
-
#include "oox/helper/containerhelper.hxx"
#include <com/sun/star/container/XIndexContainer.hpp>
diff --git a/sw/source/core/crsr/crbm.cxx b/sw/source/core/crsr/crbm.cxx
index e5ce334..33a2c68 100644
--- a/sw/source/core/crsr/crbm.cxx
+++ b/sw/source/core/crsr/crbm.cxx
@@ -26,10 +26,6 @@
*
************************************************************************/
-#ifdef _MSC_VER
-#define _HAS_ITERATOR_DEBUGGING 0
-#endif
-
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index 2e3b850..a190c68 100644
--- a/sw/source/core/doc/docbm.cxx
+++ b/sw/source/core/doc/docbm.cxx
@@ -26,10 +26,6 @@
*
************************************************************************/
-#ifdef _MSC_VER
-#define _HAS_ITERATOR_DEBUGGING 0
-#endif
-
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index 42e6c96..75ec0c8 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -26,10 +26,6 @@
*
************************************************************************/
-#ifdef _MSC_VER
-#define _HAS_ITERATOR_DEBUGGING 0
-#endif
-
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx
index 47dc806..bbda865 100644
--- a/sw/source/filter/writer/writer.cxx
+++ b/sw/source/filter/writer/writer.cxx
@@ -26,10 +26,6 @@
*
************************************************************************/
-#ifdef _MSC_VER
-#define _HAS_ITERATOR_DEBUGGING 0
-#endif
-
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
More information about the Libreoffice-commits
mailing list