summaryrefslogtreecommitdiff
path: root/Source/cmListFileLexer.in.l
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-01 11:38:42 -0400
committerBrad King <brad.king@kitware.com>2006-08-01 11:38:42 -0400
commitab61137eb177d9606ad3fa47b6b08d22b9993279 (patch)
treece57b66cd29b6dc1dab00d196eeeda84e8ef82a2 /Source/cmListFileLexer.in.l
parent7776d18896bda01c743317dd45fd5c816e8f408a (diff)
downloadcmake-ab61137eb177d9606ad3fa47b6b08d22b9993279.tar.gz
COMP: Fix and/or disable warnings for Borland 5.6 build.
Diffstat (limited to 'Source/cmListFileLexer.in.l')
-rw-r--r--Source/cmListFileLexer.in.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmListFileLexer.in.l b/Source/cmListFileLexer.in.l
index 02ad5208c8..00b38be2f5 100644
--- a/Source/cmListFileLexer.in.l
+++ b/Source/cmListFileLexer.in.l
@@ -56,6 +56,11 @@ Modify cmListFileLexer.c:
# pragma warning ( disable : 4786 )
#endif
+#if defined(__BORLANDC__)
+# pragma warn -8008 /* condition always returns true */
+# pragma warn -8066 /* unreachable code */
+#endif
+
#include "cmListFileLexer.h"
/*--------------------------------------------------------------------------*/