[gstreamer-bugs] [Bug 612540] Build releases (X.Y.0) with -DG_DISABLE_CAST_CHECKS
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Mar 25 15:11:13 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=612540
GStreamer | common | git
Stefan Kost (gstreamer, gtkdoc dev) <ensonic> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ensonic at sonicpulse.de
--- Comment #18 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2010-03-25 22:11:11 UTC ---
(In reply to comment #10)
> Source releases are used by developers.
> Distro releases (ie rpms or debs) are for end-users.
>
> My requirement is that its easier to spot bugs in my application if the
> typechecks are there. I dont think we have g_return_if_fail(!G_IS_TYPE_XX())
> everywhere.
This is about G_DISABLE_CAST_CHECKS, that only disables checking in
a=G_TYPE_XX(b)
If we disable this we have an ordinary cast.
g_return_if_fail() is disabled by G_DISABLE_CHECKS (which is not so safe thing
to do) and G_IS_TYPE_XX() can obviously not be disabled at all.
--
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