GNOME Bugzilla – Bug 652677
[bayer] compiler warning in orc-generated code
Last modified: 2011-08-02 22:55:30 UTC
david, so here's the official bug entry for this issue about bayer currently not compiling. i tried fixing this but i don't understand yet how the whole orc thing works :) make[4]: Entering directory `/dream/projects/gst-proggies/amd64/gst-plugins-bad/gst/bayer' CC libgstbayer_la-gstbayer.lo CC libgstbayer_la-gstbayer2rgb.lo CC libgstbayer_la-gstrgb2bayer.lo CC libgstbayer_la-tmp-orc.lo tmp-orc.c: In function '_backup_gst_bayer_horiz_upsample': tmp-orc.c:413:12: error: variable 'var48' set but not used [-Werror=unused-but-set-variable] tmp-orc.c:409:12: error: variable 'var44' set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[4]: *** [libgstbayer_la-tmp-orc.lo] Fehler 1 make[4]: Leaving directory `/dream/projects/gst-proggies/amd64/gst-plugins-bad/gst/bayer' make[3]: *** [all] Fehler 2 make[3]: Leaving directory `/dream/projects/gst-proggies/amd64/gst-plugins-bad/gst/bayer' make[2]: *** [bayer] Fehler 2
what orc version (if any)?
0.4.14-1 (?)
*** Bug 654817 has been marked as a duplicate of this bug. ***
This is reproducible withthe git versions of -bad and orc
This seems to work for me, can't be bothered to do anything more elaborate right now: commit f0bc2dc05bad84d009a24c19e9b2d6de81f86c3a Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Tue Aug 2 23:53:08 2011 +0100 bayer: back around compiler warnings in orc-generated code by disabling -Werror for this plugin https://bugzilla.gnome.org/show_bug.cgi?id=652677