lilypond-devel
[Top][All Lists]
Advanced

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

compilation error with CVS 2006-01-27


From: Werner LEMBERG
Subject: compilation error with CVS 2006-01-27
Date: Fri, 27 Jan 2006 08:51:45 +0100 (CET)

Using gcc 3.3.3 I get this:

  staff-symbol-referencer.cc: In static member function `static bool 
     Staff_symbol_referencer::on_staff_line(Grob*, int)':
  staff-symbol-referencer.cc:45: error: call of overloaded
     `fabs(int&)' is ambiguous
  /usr/include/bits/mathinline.h:451: error: candidates are:
     double fabs(double)
  /usr/include/g++/cmath:328: error:
     long double std::fabs(long double)
  /usr/include/g++/cmath:324: error:
     float std::fabs(float)

The same happens in tie-formatting-problem.cc, line 337.

I've simply replaced `fabs' with `abs' -- since I don't know the
underlying code I won't apply it by myself to the CVS.


   Werner




reply via email to

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