libxfcegui4 includes config.h
fourdan at xfce.org
Thu Jan 8 22:26:44 CET 2004
Indeed, the headers should definitely not include it.
On Thu, 2004-01-08 at 21:32, Danny Milosavljevic wrote:
> Just noticed something.
> Why do some headers in /usr/include/xfce4/libxfcegui4 include config.h ?
> gtk_style.h:#ifdef HAVE_CONFIG_H
> gtktoxevent.h:#ifdef HAVE_CONFIG_H
> session-client.h:#ifdef HAVE_CONFIG_H
> xinerama.h:#ifdef HAVE_CONFIG_H
> My config.h contained
> #define const
> for some reason, which of course broke eeeverything (in gcc -Wall
> mode)... but that is another issue...
> Point being, if one includes for example panel/global.h, but forgot to
> include config.h at the top of ones source file, things can go horribly
> sigh... now off finding the cause of the '#define const'
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
Olivier Fourdan - fourdan at xfce.org
Interoperability is the keyword, uniformity is a dead end.
More information about the Xfce4-dev