Hi, I am attempting to compile PD on Suse 9.0.
The error I'm getting is
warning: dereferencing type - punned pointer will break strict dereferencing rules
It happens in statements like these:
if (PD_BADFLOAT(f)) f = 0;
Does anyone know what might be causing this? Thank you Michael Bjorkegren
__________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/
What you need to do is remove all occurrences of -Werror from the makefiles in the directories that give errors. That lets the compiler to make the files anyway, since they are not really fatal-- they come from Suse using a later compiler than the pd developers. Another way would be to install an older gcc and compile with that. I succeeded in compiling a functional pd under Suse8.2 by editing two of the makefiles. The real solution is (IMHO) to replace PD_BADFLOAT with one of the macros in math.h that do the same thing. Martin
michael bjorkegren wrote:
Hi, I am attempting to compile PD on Suse 9.0.
The error I'm getting is
warning: dereferencing type - punned pointer will break strict dereferencing rules
It happens in statements like these:
if (PD_BADFLOAT(f)) f = 0;
Does anyone know what might be causing this? Thank you Michael Bjorkegren
Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/
PD-dev mailing list PD-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-dev
On Mon, 24 Nov 2003 10:14:51 -0800 (PST) michael bjorkegren mbjorkegren3d@yahoo.com wrote:
Hi, I am attempting to compile PD on Suse 9.0.
The error I'm getting is
warning: dereferencing type - punned pointer will break strict dereferencing rules
It happens in statements like these:
if (PD_BADFLOAT(f)) f = 0;
Does anyone know what might be causing this? Thank you Michael Bjorkegren
Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/
PD-dev mailing list PD-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-dev
Edit Makefile and remove -Werror. That's it. :o)
_________________________ Koji ce mi ovo Mandrak U se i u svoje SuSE