From ab61137eb177d9606ad3fa47b6b08d22b9993279 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 1 Aug 2006 11:38:42 -0400 Subject: COMP: Fix and/or disable warnings for Borland 5.6 build. --- Source/cmCommandArgumentLexer.in.l | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/cmCommandArgumentLexer.in.l') diff --git a/Source/cmCommandArgumentLexer.in.l b/Source/cmCommandArgumentLexer.in.l index 80afa0333f..7aa90e64ce 100644 --- a/Source/cmCommandArgumentLexer.in.l +++ b/Source/cmCommandArgumentLexer.in.l @@ -53,6 +53,11 @@ Modify cmCommandArgumentLexer.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. */ -- cgit v1.2.1