After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652677 - [bayer] compiler warning in orc-generated code
[bayer] compiler warning in orc-generated code
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.23
Assigned To: David Schleef
GStreamer Maintainers
: 654817 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-06-15 19:52 UTC by Andreas Frisch
Modified: 2011-08-02 22:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Frisch 2011-06-15 19:52:02 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
Comment 1 Tim-Philipp Müller 2011-06-15 20:04:59 UTC
what orc version (if any)?
Comment 2 Andreas Frisch 2011-06-15 20:12:36 UTC
0.4.14-1 (?)
Comment 3 Thijs Vermeir 2011-07-18 08:30:36 UTC
*** Bug 654817 has been marked as a duplicate of this bug. ***
Comment 4 Olivier Crête 2011-07-18 14:12:17 UTC
This is reproducible withthe git versions of -bad and orc
Comment 5 Tim-Philipp Müller 2011-08-02 22:55:30 UTC
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