"Phil Holmes" <address@hidden> writes:
I'm getting the following when trying to compile a GUB build:
/home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/lily/midi-item.cc:
In member function 'virtual std::string
Midi_control_function_value_change::to_string() const':
/home/gub/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/lily/midi-item.cc:403:
error: 'lround' was not declared in this scope
make[1]: *** [out/midi-item.o] Error 1
I assume it's something to do with the midi pan changes, and is a
compiler incompatibility between the GUB and normal compilers, but I
don't know how to fix it. It would seem it will need an update to
midi-item.cc.
lround is part of the C99 standard. For one thing, we are using C++
rather than C, for another, we don't rely on standards as new as that.
--
David Kastrup