summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-06-09 19:18:51 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-06-09 19:18:51 (GMT)
commitb81f09e341c5bfe1f3ba436f732135b6ad1c19d6 (patch)
treec9c41687664752c02006014d822af78c13e1fa1e
parent0dc49a840e1a00b725459d5b4118b0f011118547 (diff)
downloadCMake-b81f09e341c5bfe1f3ba436f732135b6ad1c19d6.zip
CMake-b81f09e341c5bfe1f3ba436f732135b6ad1c19d6.tar.gz
CMake-b81f09e341c5bfe1f3ba436f732135b6ad1c19d6.tar.bz2
STYLE: suppress warnings for borland
-rw-r--r--Source/cmStandardIncludes.h4
-rw-r--r--Source/kwsys/hashtable.hxx.in4
-rw-r--r--Source/kwsys/testAutoPtr.cxx5
3 files changed, 11 insertions, 2 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index 30d1a7f..5168014 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -34,7 +34,9 @@
#endif
#ifdef __BORLANDC__
-#pragma warn -8030 /* Temporary used for parameter */
+# pragma warn -8030 /* Temporary used for parameter */
+# pragma warn -8027 /* 'for' not inlined. */
+# pragma warn -8026 /* 'exception' not inlined. */
#endif
#ifdef __ICL
diff --git a/Source/kwsys/hashtable.hxx.in b/Source/kwsys/hashtable.hxx.in
index 9adf5c0..957210f 100644
--- a/Source/kwsys/hashtable.hxx.in
+++ b/Source/kwsys/hashtable.hxx.in
@@ -36,6 +36,10 @@
* purpose. It is provided "as is" without express or implied warranty.
*
*/
+#ifdef __BORLANDC__
+# pragma warn -8027 /* 'for' not inlined. */
+# pragma warn -8026 /* 'exception' not inlined. */
+#endif
#ifndef @KWSYS_NAMESPACE@_hashtable_hxx
#define @KWSYS_NAMESPACE@_hashtable_hxx
diff --git a/Source/kwsys/testAutoPtr.cxx b/Source/kwsys/testAutoPtr.cxx
index aa44cb6..2eb0dad 100644
--- a/Source/kwsys/testAutoPtr.cxx
+++ b/Source/kwsys/testAutoPtr.cxx
@@ -13,7 +13,10 @@
=========================================================================*/
#include "kwsysPrivate.h"
#include KWSYS_HEADER(auto_ptr.hxx)
-
+#ifdef __BORLANDC__
+# pragma warn -8027 /* 'for' not inlined. */
+# pragma warn -8026 /* exception not inlined. */
+#endif
// Work-around CMake dependency scanning limitation. This must
// duplicate the above list of headers.
#if 0