[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: enable-final broken in kdelibs (redefinition of `const int XKeyPress')
From:       Ellis Whitehead <ellis () kde ! org>
Date:       2002-10-18 19:44:41
[Download RAW message or body]

On Thursday 17 October 2002 23:27, Dirk Mueller wrote:
> On Don, 17 Okt 2002, Ellis Whitehead wrote:
> > Would it work to change 'const int XKeyPress' to 'static const int
> > XKeyPress' or should it be '#define XKeyPress KeyPress' instead?
>
> neither will work. simply use the XKeyPress defines instead of KeyPress
> like it was done all through kdecore already and it will work.

That would have been a lot easier to do if it weren't the case that the only 
use of an XKeyPress define, which has allegedly been used throughout kdecore 
<grin>, was in kkeyserver_x11.cpp.  Otherwise "const int XKeyPress = 
KeyPress" was used.

Anyhow, David's FAQ hint pointed me in the right direction.

Cheers,
Ellis

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic