[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdebase/kwm
From: Harri Porten <porten () tu-harburg ! de>
Date: 1999-06-08 11:47:33
[Download RAW message or body]
David Faure wrote:
>
> On Tue, Jun 08, 1999 at 12:29:35PM +0200, Stephan Kulow wrote:
> > Harri Porten wrote:
> > >
> > > Stephan Kulow wrote:
> > > >
> > > > >
> > > > > For all those who haven't had the pleasure of --enable-final yet: The
> > > > > KeyPress #define in <X/X.h> conflicts with QEvent::KeyPress.
> > > > >
> > > > You have to have those source files that use QEvent before those that
> > > > include X11.h :)
> > >
> > > There are files which use both :(
> > >
> > I know :)
I think I solved this problem already:
#include <qevent.h>
#include <X11/Xlib.h>
#ifndef XKEYPRESS
#define XKEYPRESS KeyPress
#endif
I can't confirm the succes yet. There are some error about `index' (a
macro?) now.
> >
> doesn't it help to #undef what X.h defines ?
That's what has been done for the normal compilation. For kwm.all.C this
fails since the #define is needed again later.
>
> For the long term : can somebody check that XFree 4 doesn't
> keep defining those ugly #defines ? Or do they want to keep
> the headers untouched ?
It would be great but I can hardly believe that they are going to change
it.
Harri.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic