enable-final broken in kdelibs (redefinition of `const int XKeyPress')
Ellis Whitehead
ellis at kde.org
Fri Oct 18 20:44:41 BST 2002
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
More information about the kde-core-devel
mailing list