bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warnings during make


From: Werner LEMBERG
Subject: Re: Warnings during make
Date: Mon, 29 Jan 2024 17:53:54 +0000 (UTC)

> main.cc:641:23: warning: loop variable 'keyval' creates a copy from
> type 'const std::pair<std::__cxx11::basic_string<char>,
> std::__cxx11::basic_string<char> >' [-Wrange-loop-construct]
>   641 |       for (const auto keyval : init_scheme_variables_global)
>       |                       ^~~~~~
> main.cc:641:23: note: use reference type to prevent copying
>   641 |       for (const auto keyval : init_scheme_variables_global)
>       |                       ^~~~~~
>       |                       &

Thanks for the report.  The fixes suggested by the compiler are now
this MR.

  https://gitlab.com/lilypond/lilypond/-/merge_requests/2250


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]