diff options
author | Brad King <brad.king@kitware.com> | 2021-02-05 11:48:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-02-05 11:48:44 (GMT) |
commit | aac80ec1ee37623c1f7f8669456c0ab9b7373ceb (patch) | |
tree | afbeb8f568803f94ad5052c86af583c1b9911adc /Source/LexerParser/cmFortranParser.y | |
parent | 80a7d2b14bf931096909262dd8fd13ca2725562c (diff) | |
download | CMake-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.y | 1 |
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 %} |