[gstreamer-bugs] [Bug 611692] Add more warning flags
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Mar 7 07:03:37 PST 2010
https://bugzilla.gnome.org/show_bug.cgi?id=611692
GStreamer | gstreamer (core) | git
--- Comment #32 from Benjamin Otte (Company) <otte at gnome.org> 2010-03-07 15:03:32 UTC ---
(In reply to comment #27)
> (From update of attachment 155124 [details])
> I happen to like -Wswitch-default, but I don't think an assertion failure is
> the appropriate response. It should be g_return_if_fail() or similar.
>
I want something that makes developers very aware that they missed a place when
adding new values. And g_assert_not_reached() matches that idea. If GStreamer
doesn't disable assertions casuing crashes in releases, I could just change
that to g_warn_if_reached() or whatever you think fits.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list