Graham Percival wrote:

On 16-Sep-05, at 8:50 AM, Johannes Schindelin wrote:

Concur. What I found irritating is that after #include'ing <cmath> in
flower/include/real.hh, isinf() is not #define'd, even when it is still
defined when checking within <cmath>! I have OSX 10.2.8.

My workaround for now is to append this after "#include <cmath>":

#ifndef isinf
#define isinf(x) __isinfd(x)
#define isnan(x) __isnand(x)
#endif


Thanks, that solves that problem.  Han-Wen, can I commit this fix to CVS?

Please don't; fixes like these can easily lead to problems on other platforms. I have successfully built 2.7.10 on MacOS 10.3, so this should no longer be necessary. The (inelegant) fix was to use <math.h> everywhere.


--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to