lilypond-devel
[Top][All Lists]
Advanced

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

Compilation error, Was: lilypond ./ChangeLog lily/accidental-placement..


From: Mats Bengtsson
Subject: Compilation error, Was: lilypond ./ChangeLog lily/accidental-placement....
Date: Tue, 13 Sep 2005 09:26:35 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511



Han-Wen Nienhuys wrote:
Patches:
Index: lilypond/ChangeLog
diff -u lilypond/ChangeLog:1.4127 lilypond/ChangeLog:1.4128
--- lilypond/ChangeLog:1.4127   Mon Sep 12 13:17:19 2005
+++ lilypond/ChangeLog  Mon Sep 12 23:33:22 2005
@@ -1,3 +1,7 @@
+2005-09-13  Han-Wen Nienhuys  <address@hidden>
+
+       * lily/*.cc: remove <cmath> everywhere. <cmath> is included from real.hh
+


When trying to compile the latest CVS, I get:

...
tie.cc: In static member function `static void Tie::get_configuration(Grob*,
Grob*, Tie_configuration*, const Drul_array<Array<Skyline_entry> >*, const
   Tie_details&)':
tie.cc:328: call of overloaded `fabs(int&)' is ambiguous
/usr/include/bits/mathinline.h:445: candidates are: double fabs(double)
/usr/include/c++/3.2.2/cmath:243:                 long double std::fabs(long
   double)
/usr/include/c++/3.2.2/cmath:239:                 float std::fabs(float)
tie.cc:336: call of overloaded `fabs(int)' is ambiguous
/usr/include/bits/mathinline.h:445: candidates are: double fabs(double)
/usr/include/c++/3.2.2/cmath:243:                 long double std::fabs(long
   double)
/usr/include/c++/3.2.2/cmath:239:                 float std::fabs(float)
tie.cc:342: call of overloaded `fabs(int)' is ambiguous
/usr/include/bits/mathinline.h:445: candidates are: double fabs(double)
/usr/include/c++/3.2.2/cmath:243:                 long double std::fabs(long
   double)
/usr/include/c++/3.2.2/cmath:239:                 float std::fabs(float)
tie.cc:369: call of overloaded `fabs(int&)' is ambiguous
/usr/include/bits/mathinline.h:445: candidates are: double fabs(double)
/usr/include/c++/3.2.2/cmath:243:                 long double std::fabs(long
   double)
/usr/include/c++/3.2.2/cmath:239:                 float std::fabs(float)
make[1]: *** [out/tie.o] Error 1
make[1]: Leaving directory `/space/lilypond/lily'
make: *** [all] Error 2



    /Mats




reply via email to

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