Does anyone know why isnan() wouldn't be found on 10.3, while it is on 10.4 As far as I can tell, the declarations are in the same place on both: /usr/include/architecture/ppc/c++config.h. Specifically, this is affecting the C++ objects from creb:
cc -bundle -bundle_loader /Users/pd/auto-build/pd-extended/packages/ darwin_app/../../pd/bin/pd -L/sw/lib -o "creb/modules++/ biquadseries.pd_darwin" "creb/modules++/biquadseries.o" -lm -lstdc++ -lc \ `test -f creb/modules++/biquadseries.libs && cat creb/modules++/ biquadseries.libs` \ `test -f creb/modules++/../darwin/biquadseries.libs && \ cat creb/modules++/../darwin/biquadseries.libs` chmod a-x "creb/modules++/biquadseries.pd_darwin" g++ -DPD -Os -funroll-loops -fomit-frame-pointer -mcpu=powerpc - mtune=7450 -mpowerpc-gfxopt -I/Users/pd/auto-build/pd-extended/ packages/darwin_app/../../pd/src -Wall -W -ggdb -I/sw/include - DMACOSX -DUNIX -Dunix -o "creb/modules++/blosc.o" -c "creb/modules++/ blosc.cc" /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: In function `t_int* blosc_perform_hardsync_saw(t_int*)': /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: 326: warning: unused variable `t_int i' /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: In function `t_int* blosc_perform_saw(t_int*)': /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: 361: warning: unused variable `t_int i' /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: In function `t_int* blosc_perform_pulse(t_int*)': /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: 391: warning: unused variable `t_int i' /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: In function `t_int* blosc_perform_comparator(t_int*)': /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: 423: warning: unused variable `t_int i' /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: In function `void blosc_dsp(t_blosc*, t_signal**)': /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: 471: warning: unused variable `int n' /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: In function `void _fft(float*, float*, int)': /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: 610: error: ` isnan' undeclared (first use this function) /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: 610: error: (Each undeclared identifier is reported only once for each function it appears in.) /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: In function `void build_tables()': /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: 700: error: `isinf' undeclared (first use this function) /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: 680: warning: unused variable `int j' /usr/include/gcc/darwin/3.3/c++/iostream: At top level: /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: 56: warning: ` float blr[4096]' defined but not used /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: 460: warning: ` void blosc_phase1(t_blosc*, float)' defined but not used /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: 637: warning: ` void _printm(float*, char*, int)' defined but not used /Users/pd/auto-build/pd-extended/externals/creb/modules++/blosc.cc: 648: warning: ` void _store_decimated(float*, float*, float, int)' defined but not used make[2]: *** [creb/modules++/blosc.o] Error 1 make[1]: *** [externals_install] Error 2 make: *** [extended_install] Error 2
------------------------------------------------------------------------
Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish. -William Carlos Williams
Try adding -D_GLIBCPP_USE_C99=1
On 8/22/06, Hans-Christoph Steiner hans@eds.org wrote:
Does anyone know why isnan() wouldn't be found on 10.3, while it is on 10.4 As far as I can tell, the declarations are in the same place on both: /usr/include/architecture/ppc/c++config.h. Specifically, this is affecting the C++ objects from creb:
Thanks, tried that, but no luck:
g++ -D_GLIBCPP_USE_C99=1 -DPD -O3 -funroll-loops -fomit-frame-pointer -I../pd/src -Wall -W -ggdb -I/sw/include -DMACOSX -DUNIX -Dunix -o "creb/modules++/blosc.o" -c "creb/modules++/blosc.cc" creb/modules++/blosc.cc: In function `t_int* blosc_perform_hardsync_saw(t_int*)': creb/modules++/blosc.cc:327: warning: unused variable `t_int i' creb/modules++/blosc.cc: In function `t_int* blosc_perform_saw(t_int*)': creb/modules++/blosc.cc:362: warning: unused variable `t_int i' creb/modules++/blosc.cc: In function `t_int* blosc_perform_pulse (t_int*)': creb/modules++/blosc.cc:392: warning: unused variable `t_int i' creb/modules++/blosc.cc: In function `t_int* blosc_perform_comparator(t_int*)': creb/modules++/blosc.cc:424: warning: unused variable `t_int i' creb/modules++/blosc.cc: In function `void blosc_dsp(t_blosc*, t_signal**)': creb/modules++/blosc.cc:472: warning: unused variable `int n' creb/modules++/blosc.cc: In function `void _fft(float*, float*, int)': creb/modules++/blosc.cc:611: error: `isnan' undeclared (first use this function) creb/modules++/blosc.cc:611: error: (Each undeclared identifier is reported only once for each function it appears in.) creb/modules++/blosc.cc: In function `void build_tables()': creb/modules++/blosc.cc:701: error: `isinf' undeclared (first use this function) creb/modules++/blosc.cc:681: warning: unused variable `int j' /usr/include/gcc/darwin/3.3/c++/iostream: At top level: creb/modules+ +/blosc.cc:57: warning: ` float blr[4096]' defined but not used make: *** [creb/modules++/blosc.o] Error 1
On Aug 22, 2006, at 10:36 AM, chris clepper wrote:
Try adding -D_GLIBCPP_USE_C99=1
On 8/22/06, Hans-Christoph Steiner <hans@eds.org > wrote:
Does anyone know why isnan() wouldn't be found on 10.3, while it is on 10.4 As far as I can tell, the declarations are in the same place on both: /usr/include/architecture/ppc/c++config.h. Specifically, this is affecting the C++ objects from creb: