diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-01-23 01:01:28 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-01-23 01:05:45 +0200 |
commit | 48252aada0f12b8cbb8f66bc21d44f770a1229b8 (patch) | |
tree | 318f2b8d95b7edd1d37187413935d00cefe4ef79 /cppu/util | |
parent | Use correct name for mscx_uno.dll and deliver it (diff) | |
download | core-48252aada0f12b8cbb8f66bc21d44f770a1229b8.tar.gz core-48252aada0f12b8cbb8f66bc21d44f770a1229b8.zip |
If CPPU_LEAK_STATIC_DATA is defined, don't bother with assertions
Re-introduce the possibility to define CPPU_LEAK_STATIC_DATA. This
time use it to bypass just the assertions that check that the type
description counts really are zero at the end of the
TypeDescriptor_Init_Impl destructor.
Add more informative debugging printout of which counts are non-zero.
Define CPPU_LEAK_STATIC_DATA for x64 Windows for now. But we do get
the same assertions also on x86 Windows if cppu is built with
OSL_DEBUG_LEVEL>1.
Diffstat (limited to 'cppu/util')
-rw-r--r-- | cppu/util/target.pmk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cppu/util/target.pmk b/cppu/util/target.pmk index 3befcb154753..a94ea7c8dafe 100644 --- a/cppu/util/target.pmk +++ b/cppu/util/target.pmk @@ -51,3 +51,7 @@ CFLAGS += -Ob0 .ENDIF .ENDIF + +.IF "$(COM)$(CPU)" == "MSCX" +CFLAGS += -DCPPU_LEAK_STATIC_DATA +.ENDIF |