>From 9cb9dbf8d91194c13a6331ab482b6bc5b2e3895c Mon Sep 17 00:00:00 2001 From: Jaap de Wolff Date: Sun, 10 May 2020 14:37:41 +0200 Subject: [PATCH 3/3] ignore conversion warning in lexer.cc --- lily/lexer.ll | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lily/lexer.ll b/lily/lexer.ll index 9f274f1a80..cfcb3df677 100644 --- a/lily/lexer.ll +++ b/lily/lexer.ll @@ -84,6 +84,11 @@ RH 7 fix (?) #pragma GCC diagnostic ignored "-Wimplicit-fallthrough" #endif +// generated code for yyFlexLexer::LexerInput +// contains a std::streamsize to int conversion +// ignore warning +#pragma GCC diagnostic ignored "-Wconversion" + void strip_trailing_white (string&); void strip_leading_white (string&); string lyric_fudge (string s); -- 2.20.1