Add a note about G_DISABLE_DEPRECATED. (#353172, Matt Barnes)

2006-08-28  Matthias Clasen  <mclasen@redhat.com>

        * glib/compiling.sgml: Add a note about G_DISABLE_DEPRECATED.
        (#353172, Matt Barnes)
This commit is contained in:
Matthias Clasen
2006-08-28 17:20:02 +00:00
committed by Matthias Clasen
parent 77332513b9
commit a66bf6e9f2
2 changed files with 11 additions and 0 deletions

View File

@@ -61,6 +61,12 @@ $ cc `pkg-config --cflags --libs glib-2.0` hello.c -o hello
</programlisting>
</para>
<para>
If you want to make sure that your program doesn't use any deprecated
functions, you can define the preprocessor symbol G_DISABLE_DEPRECATED
by using the command line option <literal>-DG_DISABLE_DEPRECATED=1</literal>.
</para>
</refsect1>
</refentry>