>From 7ad32213cd65296c47a7ea69c2a6d172e72aa38c Mon Sep 17 00:00:00 2001 From: Jaap de Wolff Date: Sun, 10 May 2020 21:26:52 +0200 Subject: [PATCH 5/5] 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