mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-28 18:16:34 +02:00
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:
committed by
Matthias Clasen
parent
77332513b9
commit
a66bf6e9f2
@@ -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>
|
||||
|
Reference in New Issue
Block a user