multi-measure-rest.cc: In static member function 'static Stencil
Multi_measure_rest::church_rest(Grob*, Font_metric*, int, Real)':
multi-measure-rest.cc:246: error: call of overloaded 'pow(int, int)' is
ambiguous
/usr/include/architecture/i386/math.h:343: note: candidates are: double
pow(double, double)
/usr/include/c++/4.2.1/cmath:373: note: long double
std::pow(long double, int)
/usr/include/c++/4.2.1/cmath:369: note: float std::pow(float,
int)
/usr/include/c++/4.2.1/cmath:365: note: double std::pow(double,
int)
/usr/include/c++/4.2.1/cmath:361: note: long double
std::pow(long double, long double)
/usr/include/c++/4.2.1/cmath:357: note: float std::pow(float,
float)
Easy fix would be :
length = int (pow (2.0, -i));
instead of
length = int (pow (2, -i));
Cheers,
MS
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel