Phil Holmes <m...@philholmes.net> writes:

> I'm getting the following failure running a GUB build:
>
> /home/gub/NewGub/gub/target/darwin-ppc/src/lilypond-git.sv.gnu.org--
> lilypond.git-release-unstable/flower/warn.cc:114:49: warning: format '%d'
> expects argument of type 'int', but argument 2 has type 
> 'std::vector<std::basic_string<char> >::size_type {aka long unsigned int}' 
> [-Wformat=]
>                         expected_warnings.size ());
>                                                  ^
>
> Presumably caused by
>
> Issue 4550 (n/2) Avoid "using namespace std;" in included files
>
> but I've no idea why.  Can anyone suggest a fix, please?

That's a warning, not an error.  We have other warnings that don't stop
compilation.  While this one would warrant fixing (likely by using
stdstream instead of the C stdio library), it should not make
compilation abort.  Can you check the compilation log for an actual
error?  That would likely be more important to fix right now.  The above
will likely, if at all, "just" cause wrong output in warnings on the PPC
platform.  Definitely something we want to fix, but I think something
else is responsible for making the compilation stop altogether.

-- 
David Kastrup

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to