~ubuntu-branches/debian/squeeze/glib2.0/squeeze

« back to all changes in this revision

Viewing changes to docs/reference/glib/compiling.sgml

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-02-15 13:00:43 UTC
  • mfrom: (1.3.1 upstream) (69.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20090215130043-q47fbt3owmt42m2f
Tags: 2.18.4-2
* Release to unstable
* debian/rules:
- bump SHVER, since we are already forcing a 2.18.0 dependecy on the
  symbols introduced in the development versions
* debian/control.in:
- added Homepage and Vcs-* control fields

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
by using the command line option <literal>-DG_DISABLE_DEPRECATED=1</literal>.
68
68
</para>
69
69
 
 
70
<para>
 
71
The recommended way of using GLib has always been to only include the 
 
72
toplevel headers <filename>glib.h</filename>, 
 
73
<filename>glib-object.h</filename>, <filename>gio.h</filename>.
 
74
Starting with 2.17, GLib enforces this by generating an error
 
75
when individual headers are directly included. To help with the 
 
76
transition, the enforcement is not turned on by default for GLib 
 
77
headers (it <emphasis>is</emphasis> turned on for GObject and GIO).
 
78
To turn it on, define the preprocessor symbol G_DISABLE_SINGLE_INCLUDES
 
79
by using the command line option <literal>-DG_DISABLE_SINGLE_INCLUDES</literal>.
 
80
</para>
 
81
 
70
82
</refsect1>
71
83
 
72
84
</refentry>