lilypond-devel
[Top][All Lists]
Advanced

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

Re: build failure for freebsd-x86 in beam-quanting.cc


From: Graham Percival
Subject: Re: build failure for freebsd-x86 in beam-quanting.cc
Date: Mon, 28 Feb 2011 09:51:58 +0000

On 2/28/11, Jan Nieuwenhuizen <address@hidden> wrote:
> Graham Percival schreef op ma 28-02-2011 om 09:35 [+0000]:
>> /main/src/gub/target/freebsd-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/lily/beam-quanting.cc:638:
>> error: 'round' was not declared in this scope
>>
>> I'm guessing that you need to explicitly include some other header
>> because round() is in default in glibc but not in freebsd libc, or
>> something like that?
>
> Eek, are we using floats?

I guess so?
      if (abs (round(yshift) - yshift) < 0.01 * staff_space)
        config->add (parameters.HORIZONTAL_INTER_QUANT_PENALTY, "H");

Take a look at
15feba22d437b566333c8c948a5780ce40c5953f

Cheers,
- Graham



reply via email to

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