Skip to content

Commit

Permalink
Merge pull request #350 from genodeftest/update-debug-docs
Browse files Browse the repository at this point in the history
doc/dev/debugging: G_ENABLE_DIAGNOSTIC is now off by default
  • Loading branch information
virtuald committed Apr 29, 2017
2 parents d345c8f + c6c9acd commit 54333a9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions doc/dev/debugging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,13 @@ Refer to the `Gtk+ <https://developer.gnome.org/gtk3/stable/gtk-running.html>`_
and `GLib <https://developer.gnome.org/glib/stable/glib-running.html>`_
debugging documentation.

Enable diagnostic warnings on Fedora
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enable diagnostic warnings
~~~~~~~~~~~~~~~~~~~~~~~~~~

On Fedora stable you might want to set the ``G_ENABLE_DIAGNOSTIC`` environment
variable to test this since Glib warnings are disabled by default on Fedora. See
`this commit <http://pkgs.fedoraproject.org/cgit/glib2.git/commit/?h=f22&id=bdab866334343601ca6b92e23029b4bd78ca6de6>`_.
On GLib >= 2.46 you might want to set the ``G_ENABLE_DIAGNOSTIC`` environment
variable to show deprecation warnings. They are disabled by default since 2.46
and sometimes on older versions. See
`this commit <https://git.gnome.org/browse/glib/commit/gobject/gobject.c?id=3bd1618ea955f950f87bc4e452029c5f0cea35aa>`_.

Eliminating Gtk-WARNING
~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 54333a9

Please sign in to comment.