summaryrefslogtreecommitdiffstats
path: root/Source/LexerParser/cmFortranParser.y
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-02-05 11:48:38 (GMT)
committerBrad King <brad.king@kitware.com>2021-02-05 11:48:44 (GMT)
commitaac80ec1ee37623c1f7f8669456c0ab9b7373ceb (patch)
treeafbeb8f568803f94ad5052c86af583c1b9911adc /Source/LexerParser/cmFortranParser.y
parent80a7d2b14bf931096909262dd8fd13ca2725562c (diff)
downloadCMake-aac80ec1ee37623c1f7f8669456c0ab9b7373ceb.zip
CMake-aac80ec1ee37623c1f7f8669456c0ab9b7373ceb.tar.gz
CMake-aac80ec1ee37623c1f7f8669456c0ab9b7373ceb.tar.bz2
LexerParser: Suppress gcc -Wfree-nonheap-object warnings in generated code
Diffstat (limited to 'Source/LexerParser/cmFortranParser.y')
-rw-r--r--Source/LexerParser/cmFortranParser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/LexerParser/cmFortranParser.y b/Source/LexerParser/cmFortranParser.y
index bea149b..e461160 100644
--- a/Source/LexerParser/cmFortranParser.y
+++ b/Source/LexerParser/cmFortranParser.y
@@ -55,6 +55,7 @@ static void cmFortran_yyerror(yyscan_t yyscanner, const char* message)
#endif
#if defined(__GNUC__) && __GNUC__ >= 8
# pragma GCC diagnostic ignored "-Wconversion"
+# pragma GCC diagnostic ignored "-Wfree-nonheap-object"
#endif
%}