diff options
author | Brad King <brad.king@kitware.com> | 2006-08-01 15:38:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-08-01 15:38:42 (GMT) |
commit | ab61137eb177d9606ad3fa47b6b08d22b9993279 (patch) | |
tree | ce57b66cd29b6dc1dab00d196eeeda84e8ef82a2 /Source/cmDependsJavaParser.cxx | |
parent | 7776d18896bda01c743317dd45fd5c816e8f408a (diff) | |
download | CMake-ab61137eb177d9606ad3fa47b6b08d22b9993279.zip CMake-ab61137eb177d9606ad3fa47b6b08d22b9993279.tar.gz CMake-ab61137eb177d9606ad3fa47b6b08d22b9993279.tar.bz2 |
COMP: Fix and/or disable warnings for Borland 5.6 build.
Diffstat (limited to 'Source/cmDependsJavaParser.cxx')
-rw-r--r-- | Source/cmDependsJavaParser.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmDependsJavaParser.cxx b/Source/cmDependsJavaParser.cxx index 2b1690c..5405c05 100644 --- a/Source/cmDependsJavaParser.cxx +++ b/Source/cmDependsJavaParser.cxx @@ -338,6 +338,9 @@ yyGetParser->AddClassFound(str); yyGetParser->DeallocateParserType(&(str)) /* Disable some warnings in the generated code. */ #ifdef __BORLANDC__ # pragma warn -8004 /* Variable assigned a value that is not used. */ +# pragma warn -8008 /* condition always returns true */ +# pragma warn -8060 /* possibly incorrect assignment */ +# pragma warn -8066 /* unreachable code */ #endif #ifdef _MSC_VER # pragma warning (disable: 4102) /* Unused goto label. */ |