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

List:       kde-devel
Subject:    Re: kdenetwork/krdc don't build ;(
From:       Tim Jansen <tim () tjansen ! de>
Date:       2002-07-11 18:33:05
[Download RAW message or body]

On Friday 12 July 2002 00:56, fenix wrote:
> ../config.h:237:1: warning: "VERSION" redefined
> In file included from krdc.all_cpp.cpp:2:
> main.cpp:30:1: warning: this is the location of the previous definition
> In file included from /usr/X11R6/include/X11/extensions/xf86vmode.h:39,
>                  from vidmode.cpp:22,
>                  from krdc.all_cpp.cpp:6:
> /usr/X11R6/include/X11/Xmd.h:148: conflicting types for `typedef long
> unsigned int CARD32'
> vnctypes.h:33: previous declaration as `typedef unsigned int CARD32'
> make: *** [krdc.all_cpp.o] Erreur 1
>
>  it's another name clash betwen kde and xfree ;( ... X headers don't
> like me ;(((

Ouch, I put the vidmode stuff into its own file in order to isolate it from 
the VNC headers, because of these name clashes. 
Is there a preprocessor variable that I can use to write --enable-final 
specific code?

For now I solved the problem by replacing the CARDxx types with an Xmd.h 
include. Is Xmd.h XFree-specific?

bye...



 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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