Add some hints about making warnings fatal. (#348785, Matt Barnes)
authorMatthias Clasen <mclasen@redhat.com>
Sat, 5 Aug 2006 22:04:21 +0000 (22:04 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 5 Aug 2006 22:04:21 +0000 (22:04 +0000)
2006-08-05  Matthias Clasen  <mclasen@redhat.com>

* glib/tmpl/messages.sgml: Add some hints
about making warnings fatal.  (#348785, Matt
Barnes)

docs/reference/ChangeLog
docs/reference/glib/tmpl/messages.sgml

index ab1142f..fdcc9ae 100644 (file)
@@ -1,3 +1,9 @@
+2006-08-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/tmpl/messages.sgml: Add some hints
+       about making warnings fatal.  (#348785, Matt
+       Barnes)
+
 2006-07-22  Matthias Clasen  <mclasen@redhat.com>
 
        * === Released 2.12.1 ===
index 5c918b1..8e5889f 100644 (file)
@@ -138,6 +138,11 @@ A convenience function/macro to log a normal message.
 A convenience function/macro to log a warning message.
 </para>
 
+<para>
+You can make warnings fatal at runtime by setting the %G_DEBUG environment
+variable (see <ulink url="glib-running.html">Running GLib Applications</ulink>).
+</para>
+
 @...: format string, followed by parameters to insert into the format string (as with printf())
 
 @...:
@@ -166,6 +171,12 @@ warnings exit the program, then use g_critical() for fatal errors, for
 example.
 </para>
 
+<para>
+You can also make critical warnings fatal at runtime by setting
+the %G_DEBUG environment variable (see
+<ulink url="glib-running.html">Running GLib Applications</ulink>).
+</para>
+
 @...: format string, followed by parameters to insert into the format string (as with printf())
 
 @...:
@@ -304,6 +315,12 @@ You can only set the levels defined by GLib to be fatal.
 %G_LOG_LEVEL_ERROR is always fatal.
 </para>
 
+<para>
+You can also make some message levels
+fatal at runtime by setting the %G_DEBUG environment variable (see
+<ulink url="glib-running.html">Running GLib Applications</ulink>).
+</para>
+
 @fatal_mask: the mask containing bits set for each level of error which is
 to be fatal.
 @Returns: the old fatal mask.