summaryrefslogtreecommitdiffstats
path: root/Source/LexerParser/cmDependsJavaParser.y
diff options
context:
space:
mode:
Diffstat (limited to 'Source/LexerParser/cmDependsJavaParser.y')
-rw-r--r--Source/LexerParser/cmDependsJavaParser.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/LexerParser/cmDependsJavaParser.y b/Source/LexerParser/cmDependsJavaParser.y
index f7eb228..a4e9c5d 100644
--- a/Source/LexerParser/cmDependsJavaParser.y
+++ b/Source/LexerParser/cmDependsJavaParser.y
@@ -44,6 +44,9 @@ static void cmDependsJava_yyerror(yyscan_t yyscanner, const char* message);
# pragma warning (disable: 4102) /* Unused goto label. */
# pragma warning (disable: 4065) /* Switch statement contains default but no case. */
#endif
+#if defined(__GNUC__) && __GNUC__ >= 8
+# pragma GCC diagnostic ignored "-Wconversion"
+#endif
%}
/* Generate a reentrant parser object. */