lilypond-devel
[Top][All Lists]
Advanced

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

Missing isnan, isinf?


From: Don Blaheta
Subject: Missing isnan, isinf?
Date: Tue, 31 Jan 2006 01:50:47 -0600
User-agent: Mutt/1.2.5.1i

I'm on OS X 10.3.9, with g++ version 3.3, trying to compile lilypond
from CVS.  Not that I ever got that working in the first place, but it's
failing at a different place from the last time I poked around about a
month ago:

  rm -f ./out/offset.dep; DEPENDENCIES_OUTPUT="./out/offset.dep ./out/offset.o" 
g++ -c  -DHAVE_CONFIG_H  -DNDEBUG -DSTRING_UTILS_INLINED -I./include -I./out 
-I../flower/include -I../flower/./out  -O2 -finline-functions -g -pipe 
-I/sw/include -I/sw/lib/freetype219/include/freetype2   -I/sw/include/pango-1.0 
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/include/glib-2.0 
-I/sw/lib/glib-2.0/include    -W -Wall -Wconversion -o out/offset.o offset.cc
  offset.cc: In member function `bool Offset::is_sane() const':
  offset.cc:91: error: `isnan' undeclared (first use this function)
  offset.cc:91: error: (Each undeclared identifier is reported only once for 
each 
     function it appears in.)
  offset.cc:93: error: `isinf' undeclared (first use this function)
  make[1]: *** [out/offset.o] Error 1
  make: *** [all] Error 2

I can't quite figure out why, because flower/offset.cc includes
flower/include/offset.hh, which includes flower/include/real.hh, which
includes /usr/include/math.h, which includes (are you following all
this?) /usr/include/architecture/ppc/math.h, which defines both isnan
and isinf as #define macros.  At least, afaict.  Has anyone else run
into similar problems?

-- 
-=-Don address@hidden<http://www.blahedo.org/>-=-
All syllogisms have three parts, therefore this is not a syllogism.




reply via email to

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