summaryrefslogtreecommitdiffstats
path: root/Source/LexerParser/cmCommandArgumentParser.y
diff options
context:
space:
mode:
Diffstat (limited to 'Source/LexerParser/cmCommandArgumentParser.y')
-rw-r--r--Source/LexerParser/cmCommandArgumentParser.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/LexerParser/cmCommandArgumentParser.y b/Source/LexerParser/cmCommandArgumentParser.y
index 55a88df..0c6aad5 100644
--- a/Source/LexerParser/cmCommandArgumentParser.y
+++ b/Source/LexerParser/cmCommandArgumentParser.y
@@ -55,6 +55,9 @@ static void cmCommandArgument_yyerror(yyscan_t yyscanner, const char* message);
# pragma warning (disable: 4244) /* loss of precision */
# pragma warning (disable: 4702) /* unreachable code */
#endif
+#if defined(__GNUC__) && __GNUC__ >= 8
+# pragma GCC diagnostic ignored "-Wconversion"
+#endif
%}
/* Generate a reentrant parser object. */