lilypond-devel
[Top][All Lists]
Advanced

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

Re: Gub failure


From: Phil Holmes
Subject: Re: Gub failure
Date: Sun, 24 Jul 2016 16:45:51 +0100

----- Original Message ----- From: "Phil Holmes" <address@hidden>
To: "David Kastrup" <address@hidden>
Cc: <address@hidden>
Sent: Sunday, July 24, 2016 3:53 PM
Subject: Re: Gub failure


----- Original Message ----- From: "David Kastrup" <address@hidden>
To: "Phil Holmes" <address@hidden>
Cc: <address@hidden>
Sent: Sunday, July 24, 2016 12:15 PM
Subject: Re: Gub failure


Phil Holmes <address@hidden> writes:

Trying to build Gub today, I get the following failures:

/home/gub/NewGub/gub/target/mingw/src/lilypond-git.sv.gnu.org--lilypond.git-
release-unstable/lily/dynamic-performer.cc: In member function 'Real
Dynamic_performer::compute_departure_volume(Direction, Real, Real, Real,
Real)':
/home/gub/NewGub/gub/target/mingw/src/lilypond-git.sv.gnu.org--lilypond.git-
release-unstable/lily/dynamic-performer.cc:259:19: error: expected
unqualified-id before '=' token
   const Real near = minmax (depart_dir, start_vol, end_vol)
                   ^
/home/gub/NewGub/gub/target/mingw/src/lilypond-git.sv.gnu.org--lilypond.git-
release-unstable/lily/dynamic-performer.cc:261:18: error: expected
unqualified-id before '=' token
   const Real far = minmax (-depart_dir, start_vol, end_vol)
                  ^
There are further similar errors.

Anyone know what's going on?

"target/mingw" would be seminal here I think.  I am surprised that we
are getting this even when crosscompiling with GCC but at any rate in
Microsoft compilers, "far"/"near" are keywords indicating
pointer/segmentation type.  So when working with system headers, GCC is
likely to assign some sort of meaning to those words (via preprocessor
if not via core language).

Try replacing the occurences of the identifiers "far" and "near" with
"far_vol" and "near_vol" (I haven't looked at the actual code so this
name might or might not be appropriate) and see whether this makes Gub
happier.

--
David Kastrup


Looks like this was the problem. I had to edit the file and push it to release/unstable since Gub always seems to pull its source files from there, so editing locally doesn't work. My normal course would be to push this change to staging once I've uploaded the new builds and docs. Does that seem OK in this case?

--
Phil Holmes

I now got as far as make doc, when the build failed making notation.makeinfo, with lots of errors similar to this:

/home/gub/NewGub/gub/target/linux-x86/build/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/Documentation/out-www//notation/pitches.texi:4417: Unknown command `raggedright'. /home/gub/NewGub/gub/target/linux-x86/build/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/Documentation/out-www//notation/pitches.texi:4420: Unmatched address@hidden'.




--
Phil Holmes



reply via email to

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