[Webkit-unassigned] [Bug 16353] New: [GTK] Check for deprecated API use (G_DISABLE_DEPRECATED etc.)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Dec 8 05:32:01 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=16353
Summary: [GTK] Check for deprecated API use (G_DISABLE_DEPRECATED
etc.)
Product: WebKit
Version: 525+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Keywords: Gtk
Severity: Minor
Priority: P2
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: alp at atoker.com
We should have a special build target (perhaps in addition to Debug and
Release) that can be used to check for deprecated API use in WebKit/GTK+.
These are the relevant flags GIMP enables:
-DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE
-DGTK_MULTIHEAD_SAFE
We would also add (for the GStreamer code):
-DGST_DISABLE_DEPRECATED
There may be others I've missed, but these seem the most important.
These flags probably shouldn't be used in standard build profiles since they
may cause the build to break needlessly in the long term. They should be used
only to assist developers in tracking down bad API use, similarly to -Werror.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list