[PD-dev] isnan() on Mac OS X 10.3 (creb C++ objects)

Hans-Christoph Steiner hans at eds.org
Tue Aug 22 19:59:35 CEST 2006


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 at 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:
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20060822/43802d37/attachment.htm>


More information about the Pd-dev mailing list