The first batch of errors all come from the use of the macro PD_BADFLOAT, which tries to cast a float as unsigned int, a dangerous practice if your floats don't happen to be that size. The standard include file math.h defines macros that do the same thing and will compile on any platform: look at isnormal() or fpclassify(). Martin
Miller Puckette wrote:
This is an ongoing problem... should be fixed in 0.37-1, which I'll put out in "test" form later today...
cheers Miller
On Wed, Oct 29, 2003 at 08:27:38PM +0100, Erasmus Zipfel wrote:
hello,
while compiling pd-0.37-0 on the new Suse-Linux 9 I get the following errors:
cc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno -parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -DDL
_OPEN -DPA_USE_OSS -DPA_LITTLE_ENDIAN -DUSEAPI_OSS
-I../portaudio/pa_common -I../portaudio/pablio -I../portaudi
o/portmidi-macosx -Werror -DINSTALL_PREFIX="/usr/local" -I. -c -o .
./obj/d_ctl.o d_ctl.c d_ctl.c: In functionline_tilde_perform': d_ctl.c:110: Warnung: dereferencing type-punned pointer will break st rict-aliasing rules d_ctl.c:110: Warnung: dereferencing type-punned pointer will break st rict-aliasing rules d_ctl.c: In function
vline_tilde_float': d_ctl.c:285: Warnung: dereferencing type-punned pointer will break st
rict-aliasing rules d_ctl.c:285: Warnung: dereferencing type-punned pointer will break st
rict-aliasing rules make: *** [d_ctl.o] Fehler 1the compiler is: gcc-Version 3.3.1 (SuSE Linux)
On suse-Linux 8.0 I have compiled the same sources some time ago without any errors. (I think the gcc was about version 2.95). Any suggestions ? Any help is highly appreciated. Thanks,
E.Zipfel
Erasmus Zipfel Wakenitzmauer 1 D-23552 Luebeck, Germany tel. 0451 76147
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list