summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
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 /Source/kwsys
parent0dc49a840e1a00b725459d5b4118b0f011118547 (diff)
downloadCMake-b81f09e341c5bfe1f3ba436f732135b6ad1c19d6.zip
CMake-b81f09e341c5bfe1f3ba436f732135b6ad1c19d6.tar.gz
CMake-b81f09e341c5bfe1f3ba436f732135b6ad1c19d6.tar.bz2
STYLE: suppress warnings for borland
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/hashtable.hxx.in4
-rw-r--r--Source/kwsys/testAutoPtr.cxx5
2 files changed, 8 insertions, 1 deletions
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