[gstreamer-bugs] [Bug 492086] Make headers -Wshadow clean

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jan 8 00:32:50 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=492086

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Peter Kjellerstedt changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED




------- Comment #4 from Peter Kjellerstedt  2008-01-08 08:32 UTC -------
Unfortunately the fact that this may be considered a bug in gcc does not change
the fact that including GStreamer's header files makes it useless to specify
the -Wshadow flag due to the massive spam of warnings from gcc. :(

However, I did not know of the requirement from gtk-doc that the variable names
in the definition and the declaration of the functions must match, which of
course increases the amount of work considerably. I cannot really say if it is
worth it, though. I just know that we now have one option less to avoid
potential errors in our code (and yes, I have found bugs with the aid of the
-Wshadow option in the past).


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=492086.




More information about the Gstreamer-bugs mailing list