Hi,
./configure works fine then make results in:
pdp_imageproc_common.c: In function `_sign': pdp_imageproc_common.c:292: warning: use of cast expressions as lvalues is deprecated make[2]: *** [pdp_imageproc_common.o] Error 1 make[2]: Leaving directory `/home/bbogart/pd-stuff/externals/pdp/system/image' make[1]: *** [common] Error 2 make[1]: Leaving directory `/home/bbogart/pd-stuff/externals/pdp/system' make: *** [pdp_all] Error 2
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Any hints?
Thanks.
B>
Hallo, B. Bogart hat gesagt: // B. Bogart wrote:
./configure works fine then make results in:
pdp_imageproc_common.c: In function `_sign': pdp_imageproc_common.c:292: warning: use of cast expressions as lvalues is deprecated make[2]: *** [pdp_imageproc_common.o] Error 1
Are you compiling with "-Wall"? Try to remove that.
Ciao
Hi Frank,
I removed -Wall from the following files:
/home/bbogart/pd-stuff/externals/pdp/scaf/Makefile.config.in /home/bbogart/pd-stuff/externals/pdp/scaf/Makefile.config /home/bbogart/pd-stuff/externals/pdp/Makefile.config.in /home/bbogart/pd-stuff/externals/pdp/Makefile.config /home/bbogart/pd-stuff/externals/pdp/debian/rules /home/bbogart/pd-stuff/externals/pdp/opengl/Makefile.config
./configure && make clean && make
and still I get the same error:
pdp_imageproc_common.c: In function `_sign': pdp_imageproc_common.c:292: warning: use of cast expressions as lvalues is deprecated make[2]: *** [pdp_imageproc_common.o] Error 1 make[2]: Leaving directory `/home/bbogart/pd-stuff/externals/pdp/system/image' make[1]: *** [common] Error 2 make[1]: Leaving directory `/home/bbogart/pd-stuff/externals/pdp/system' make: *** [pdp_all] Error 2
:(
B>
Frank Barknecht wrote:
Hallo, B. Bogart hat gesagt: // B. Bogart wrote:
./configure works fine then make results in:
pdp_imageproc_common.c: In function `_sign': pdp_imageproc_common.c:292: warning: use of cast expressions as lvalues is deprecated make[2]: *** [pdp_imageproc_common.o] Error 1
Are you compiling with "-Wall"? Try to remove that.
Ciao
Hallo, B. Bogart hat gesagt: // B. Bogart wrote:
./configure && make clean && make
and still I get the same error:
pdp_imageproc_common.c: In function `_sign': pdp_imageproc_common.c:292: warning: use of cast expressions as lvalues is deprecated make[2]: *** [pdp_imageproc_common.o] Error 1
Hm, are you sure, that the gcc-line, that should be above this error shows no traces of -Wall anymore? And there are no other, real errors reported before? Somehow this still looks, like if gcc treats the warning about lvalues as an error, as -Wall would do.
Ciao
Hey again,
I found the references to "-Wall" by using the gnome search for "contains the text" -Wall in externals/pdp and it finds no results.
I can't remember the command line way to search a hierarchy of files for a string within the files.
greping through the output of make shows no references to -Wall just to -Werror -W and -Wstrict-prototypes and a few others that start with -Wno ...
Maybe -Werror ??
Thanks for taking a stab at it, I guess the PDP folks are on vacation.
B>
Frank Barknecht wrote:
Hallo, B. Bogart hat gesagt: // B. Bogart wrote:
./configure && make clean && make
and still I get the same error:
pdp_imageproc_common.c: In function `_sign': pdp_imageproc_common.c:292: warning: use of cast expressions as lvalues is deprecated make[2]: *** [pdp_imageproc_common.o] Error 1
Hm, are you sure, that the gcc-line, that should be above this error shows no traces of -Wall anymore? And there are no other, real errors reported before? Somehow this still looks, like if gcc treats the warning about lvalues as an error, as -Wall would do.
Ciao
Hallo, B. Bogart hat gesagt: // B. Bogart wrote:
greping through the output of make shows no references to -Wall just to -Werror -W and -Wstrict-prototypes and a few others that start with -Wno ...
Maybe -Werror ??
Ah, yes, it's -Werror, as Georg also notes. Stupid me... :(
Ciao
Hallo!
pdp_imageproc_common.c: In function `_sign': pdp_imageproc_common.c:292: warning: use of cast expressions as lvalues is deprecated make[2]: *** [pdp_imageproc_common.o] Error 1
Hm, are you sure, that the gcc-line, that should be above this error shows no traces of -Wall anymore? And there are no other, real errors reported before? Somehow this still looks, like if gcc treats the warning about lvalues as an error, as -Wall would do.
maybe you mean -Werror? because -Werror makes an error out of a warning ... -Wall displays all errors
LG Georg