The hack I used is to look in the makefile in the directory containing the file whose compilation resulted in the warning message and remove all occurrences of -Werror from it. The proper thing to do is to eliminate the warning, in this case I think the use of a union is the way to go, but then you'll find there is another warning that shows up later on about echoed exp or something that looks like a redeclaration of a global in local scope (?) Martin
eh wrote:
hi
i am trying to install PD on linux SuSE 8.2 but i get errors when compiling it. i have tried PD 0.36 and 0.37 with same results. i am pretty new to linux and i don't know how to solve it. Should i move to some other linux distribution? suggestions? below i paste the compilatoin error i get. many thanx!
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../portaudio/portmidi-macosx - Werror -DPA_USE_ALSA -DUSEAPI_ALSA -DUSEAPI_JACK - DINSTALL_PREFIX="/usr/local" -I. -c -o ../obj/d_ctl.o d_ctl.c d_ctl.c: In function
line_tilde_perform': d_ctl.c:110: warning: dereferencing type-punned pointer will break strict-aliasing rules d_ctl.c:110: warning: dereferencing type-punned pointer will break strict-aliasing rules d_ctl.c: In function
vline_tilde_float': d_ctl.c:285: warning: dereferencing type-punned pointer will break strict-aliasing rules d_ctl.c:285: warning: dereferencing type-punned pointer will break strict-aliasing rules: *** [d_ctl.o] Error 1
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list