summaryrefslogtreecommitdiffstats
path: root/Source/cmExprLexer.in.l
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmExprLexer.in.l')
-rw-r--r--Source/cmExprLexer.in.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmExprLexer.in.l b/Source/cmExprLexer.in.l
index 7e6b6cd..bc2ec1c 100644
--- a/Source/cmExprLexer.in.l
+++ b/Source/cmExprLexer.in.l
@@ -53,6 +53,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. */