diff options
author | Brad King <brad.king@kitware.com> | 2006-08-01 11:38:42 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-08-01 11:38:42 -0400 |
commit | ab61137eb177d9606ad3fa47b6b08d22b9993279 (patch) | |
tree | ce57b66cd29b6dc1dab00d196eeeda84e8ef82a2 /Source/cmCommandArgumentLexer.cxx | |
parent | 7776d18896bda01c743317dd45fd5c816e8f408a (diff) | |
download | cmake-ab61137eb177d9606ad3fa47b6b08d22b9993279.tar.gz |
COMP: Fix and/or disable warnings for Borland 5.6 build.
Diffstat (limited to 'Source/cmCommandArgumentLexer.cxx')
-rw-r--r-- | Source/cmCommandArgumentLexer.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmCommandArgumentLexer.cxx b/Source/cmCommandArgumentLexer.cxx index fb382191df..1f49ad10a2 100644 --- a/Source/cmCommandArgumentLexer.cxx +++ b/Source/cmCommandArgumentLexer.cxx @@ -492,6 +492,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. */ |