NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xsrc/48128 (icewm build broken on 6.99.23)



The following reply was made to PR xsrc/48128; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: wiz%NetBSD.org@localhost, jun%soum.co.jp@localhost
Subject: Re: xsrc/48128 (icewm build broken on 6.99.23)
Date: Sun, 18 Aug 2013 10:07:29 +0200

 On Sun, Aug 18, 2013 at 07:20:28AM +0000, wiz%NetBSD.org@localhost wrote:
 > xsrc bug?
 
 Not clear - we need more icewm build info.
 
 If you just do:
 
 #include <X11/Xlib.h>
 
 ... the failing lines end up as:
 __attribute__((deprecated))
 extern KeySym XKeycodeToKeysym(
     Display* ,
 
 
 
     KeyCode ,
 
     int
 );
 
 after preprocessing, which is fine for gcc and should not cause any errors.
 
 If you include (maybe indirectly) Xorg/os.h first, you end up with:
 #include <xorg/os.h>
 #include <X11/Xlib.h>
 
 
 
 extern KeySym XKeycodeToKeysym(
     Display* ,
 
 
 
     KeyCode ,
 
     int
 );
 
 which is also fine.
 
 So a different compiler or some other magic has to be invovlde here as well.
 
 Martin
 


Home | Main Index | Thread Index | Old Index