summaryrefslogtreecommitdiffstats
path: root/Source/cmExprLexer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmExprLexer.cxx')
-rw-r--r--Source/cmExprLexer.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmExprLexer.cxx b/Source/cmExprLexer.cxx
index 093e206..045cf11 100644
--- a/Source/cmExprLexer.cxx
+++ b/Source/cmExprLexer.cxx
@@ -491,6 +491,11 @@ Modify cmExprLexer.h:
# pragma warning ( disable : 4786 )
#endif
+#if defined(__BORLANDC__)
+# pragma warn -8008 /* condition always returns true */
+# pragma warn -8066 /* unreachable code */
+#endif
+
/* Disable features we do not need. */
#define YY_NEVER_INTERACTIVE 1
#undef ECHO /* SGI termios defines this differently. */