[glib] Refer to the correct gcc deprecation options
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Subject: [glib] Refer to the correct gcc deprecation options
- Date: Mon, 15 Jun 2009 01:10:07 -0400 (EDT)
commit 2553df615d21e68d52f1e0b45ac8b70622d2881e
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jun 15 01:09:25 2009 -0400
Refer to the correct gcc deprecation options
This oversight was pointed out in bug 585520.
docs/reference/glib/tmpl/macros_misc.sgml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/glib/tmpl/macros_misc.sgml b/docs/reference/glib/tmpl/macros_misc.sgml
index 9b83ea9..3944557 100644
--- a/docs/reference/glib/tmpl/macros_misc.sgml
+++ b/docs/reference/glib/tmpl/macros_misc.sgml
@@ -217,7 +217,7 @@ See the GNU C documentation for details.
Expands to the GNU C <literal>deprecated</literal> attribute if the compiler
is <command>gcc</command>.
It can be used to mark typedefs, variables and functions as deprecated.
-When called with the <option>-Wdeprecated</option> option, the compiler will
+When called with the <option>-Wdeprecated-declarations</option> option, the compiler will
generate warnings when deprecated interfaces are used.
See the GNU C documentation for details.
</para>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]