summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsJavaParser.y
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDependsJavaParser.y')
-rw-r--r--Source/cmDependsJavaParser.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmDependsJavaParser.y b/Source/cmDependsJavaParser.y
index def6f2d..1d8956d 100644
--- a/Source/cmDependsJavaParser.y
+++ b/Source/cmDependsJavaParser.y
@@ -58,6 +58,9 @@ static void cmDependsJavaError(yyscan_t yyscanner, const char* message);
/* 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. */