summaryrefslogtreecommitdiff
path: root/src/win95
diff options
context:
space:
mode:
Diffstat (limited to 'src/win95')
-rw-r--r--src/win95/awtexld.cpp4
-rw-r--r--src/win95/list_tem.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/win95/awtexld.cpp b/src/win95/awtexld.cpp
index bef0b26..fa615bb 100644
--- a/src/win95/awtexld.cpp
+++ b/src/win95/awtexld.cpp
@@ -228,7 +228,7 @@ namespace AwTl
db_log1(("AW: Potential Memory Leaks Detected!!!"));
}
#ifdef _CPPRTTI
- #warning "Run-Time Type Identification (RTTI) is enabled"
+ //#warning "Run-Time Type Identification (RTTI) is enabled"
for (Iterator itLeak(*this) ; !itLeak.Done() ; itLeak.Next())
{
db_logf1(("\tAW Object not deallocated: Type: %s RefCnt: %u",typeid(*itLeak.Get()).name(),itLeak.Get()->m_nRefCnt));
@@ -238,7 +238,7 @@ namespace AwTl
db_log1(("AW: Object dump complete"));
}
#else // ! _CPPRTTI
- #warning "Run-Time Type Identification (RTTI) is not enabled - memory leak checking will not report types"
+ //#warning "Run-Time Type Identification (RTTI) is not enabled - memory leak checking will not report types"
unsigned nRefs(0);
for (Iterator itLeak(*this) ; !itLeak.Done() ; itLeak.Next())
{
diff --git a/src/win95/list_tem.hpp b/src/win95/list_tem.hpp
index 020aacc..d5a150a 100644
--- a/src/win95/list_tem.hpp
+++ b/src/win95/list_tem.hpp
@@ -37,7 +37,7 @@
#endif
#ifdef NDEBUG
- #define fail if (0)
+ static void fail(...) {}
#define list_fail_get_data_from_sentinel NULL
#define list_fail_add_entry_after NULL
#define list_fail_add_entry_before NULL