On Wed, 2011-10-26 at 16:12 +0200, Jakub Jelinek wrote:
On Wed, Oct 26, 2011 at 10:06:31AM -0400, Tom Lane wrote:
> /usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h>
can be included directly."
>
> or close variants of that. I assume this is another manifestation of
> the same bug being discussed here ... or have the glibc guys managed to
> break the world in two different ways in the same release?
You are confusing glibc with glib here, the above very much looks like
a glib bug, nothing to do with glibc.
Its not a bug, just a change. Including individual glib headers has been
discouraged for a long time. In GLib 2.31, it has been outlawed.