I'm seeing this error using gcc-3.2. Can anyone give me an idea how to get round it?
cd ../extra/fiddle~;make
make[1]: Entering directory /usr/local/src/1music/pd-0.35-0/extra/fiddle~' cc -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -I../../src -o fiddle~.o -c fiddle~.c cc1: warnings being treated as errors fiddle~.c: In function
sigfiddle_doit':
fiddle~.c:696: warning: declaration of index' shadows a global declaration <built-in>:0: warning: shadowed declaration is here fiddle~.c:1635:14: multi-line string literals are deprecated make[1]: *** [fiddle~.pd_linux] Error 1 make[1]: Leaving directory
/usr/local/src/1music/pd-0.35-0/extra/fiddle~'
make: *** [externs] Error 2
It's
-Werror
I often have to remove this flag when compiling PD externals. It seems to be a common choice between PD developers but it causes problems using different compilers. I guess it should not be included in the "release" build system.
Anyway it's a little problem: just remove that flag from the makefile and everything will (hopefully) be fine.
Maurizio Umberto Puxeddu.
On Fri, 1 Nov 2002, Patrick Shirkey wrote:
I'm seeing this error using gcc-3.2. Can anyone give me an idea how to get round it?
cd ../extra/fiddle~;make make[1]: Entering directory
/usr/local/src/1music/pd-0.35-0/extra/fiddle~' cc -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -I../../src -o fiddle~.o -c fiddle~.c cc1: warnings being treated as errors fiddle~.c: In function
sigfiddle_doit': fiddle~.c:696: warning: declaration ofindex' shadows a global declaration <built-in>:0: warning: shadowed declaration is here fiddle~.c:1635:14: multi-line string literals are deprecated make[1]: *** [fiddle~.pd_linux] Error 1 make[1]: Leaving directory
/usr/local/src/1music/pd-0.35-0/extra/fiddle~' make: *** [externs] Error 2
Maurizio Umberto Puxeddu wrote:
It's
-Werror
I often have to remove this flag when compiling PD externals. It seems to be a common choice between PD developers but it causes problems using different compilers. I guess it should not be included in the "release" build system.
Anyway it's a little problem: just remove that flag from the makefile and everything will (hopefully) be fine.
Ok that worked. I had to edit the makefile in /extra/fiddle~/ just in case anyone else is wondering.