On Jun 15, 2011, at 9:07 AM, [email protected] wrote: > 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));
Fixed in commit 551366717e02aa0bbcde43cdd301b32a1b484728. This doesn't break anything on my mac, but if other people have compilation issues on other platforms, let me know. Cheers, MS _______________________________________________ lilypond-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-devel
