summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortranLexer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDependsFortranLexer.cxx')
-rw-r--r--Source/cmDependsFortranLexer.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmDependsFortranLexer.cxx b/Source/cmDependsFortranLexer.cxx
index d9c370f..b8feb17 100644
--- a/Source/cmDependsFortranLexer.cxx
+++ b/Source/cmDependsFortranLexer.cxx
@@ -656,6 +656,11 @@ Modify cmDependsFortranLexer.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
#define ECHO