summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric NOULARD <eric.noulard@gmail.com>2012-05-21 12:39:18 (GMT)
committerEric NOULARD <eric.noulard@gmail.com>2012-05-21 12:39:18 (GMT)
commit801ea70c08a15071a22149c8f8f829a34e628c6a (patch)
treed7289345a0d0d81a772f66af7c3a7eeafe51bbb3
parent2a34b579381cd73a18553c331d91b99a42292367 (diff)
downloadCMake-801ea70c08a15071a22149c8f8f829a34e628c6a.zip
CMake-801ea70c08a15071a22149c8f8f829a34e628c6a.tar.gz
CMake-801ea70c08a15071a22149c8f8f829a34e628c6a.tar.bz2
Calm down Borland compiler warning about "always true"
-rw-r--r--Source/CPack/cmCPackGeneratorFactory.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackGeneratorFactory.cxx b/Source/CPack/cmCPackGeneratorFactory.cxx
index dbfdbbc..37ff460 100644
--- a/Source/CPack/cmCPackGeneratorFactory.cxx
+++ b/Source/CPack/cmCPackGeneratorFactory.cxx
@@ -40,6 +40,10 @@
#include "cmCPackLog.h"
+#if defined(__BORLANDC__)
+# pragma warn -8008 /* condition is always true */
+#endif
+
//----------------------------------------------------------------------
cmCPackGeneratorFactory::cmCPackGeneratorFactory()
{