[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-devel
Subject: Compilation error, Was: lilypond ./ChangeLog lily/accidental-placement....
From: Mats Bengtsson <mats.bengtsson () s3 ! kth ! se>
Date: 2005-09-13 7:26:35
Message-ID: 43267F2B.5010109 () s3 ! kth ! se
[Download RAW message or body]
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 <hanwen@xs4all.nl>
> +
> + * 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic