mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-14 19:55:12 +01:00
Additions
svn path=/trunk/; revision=6945
This commit is contained in:
parent
2356ba3471
commit
8aa6abbd6c
@ -1,3 +1,7 @@
|
|||||||
|
2008-05-27 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/compiling.sgml: Document G_DISABLE_SINGLE_INCLUDES
|
||||||
|
|
||||||
2008-05-27 Michael Natterer <mitch@gimp.org>
|
2008-05-27 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* glib/tmpl/gurifuncs.sgml
|
* glib/tmpl/gurifuncs.sgml
|
||||||
|
@ -67,6 +67,18 @@ functions, you can define the preprocessor symbol G_DISABLE_DEPRECATED
|
|||||||
by using the command line option <literal>-DG_DISABLE_DEPRECATED=1</literal>.
|
by using the command line option <literal>-DG_DISABLE_DEPRECATED=1</literal>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
The recommended way of using GLib has always been to only include the
|
||||||
|
toplevel headers <filename>glib.h</filename>,
|
||||||
|
<filename>glib-object.h</filename>, <filename>gio.h</filename>.
|
||||||
|
Starting with 2.17, GLib enforces this this by generating an error
|
||||||
|
when individual headers are directly included. To help with the
|
||||||
|
transition, the enforcement is not turned on by default for GLib
|
||||||
|
headers (it <emphasis>is</emphasis> turned on for GObject and GIO).
|
||||||
|
To turn it on, define the preprocessor symbol G_DISABLE_SINGLE_INCLUDES
|
||||||
|
by using the command line option <literal>-DG_DISABLE_SINGLE_INCLUDES</literal>.
|
||||||
|
</para>
|
||||||
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
</refentry>
|
</refentry>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user