Re: [dev] smessage

From: Bartosz Pranczke <b.pranczke_AT_gmail.com>
Date: Sun, 26 Feb 2012 00:30:22 +0100

Hi Florian,
yes, I have deleted -Werror and then it works without any problem.
I use most current version of ArchLinux x64 with libx11 1.4.99.1-1.


On 18:55 Thu 23 Feb , Florian Limberger wrote:
> Hi Bartosz,
>
> On 23.02.2012 13:30, Bartosz Pranczke wrote:
> > I have a warning preventing this from compile.
> >
> > cc -Wall -Wextra -Werror -std=c99 -pedantic -I/usr/X11R6/include
> > -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DNAME=\"smessage\"
> > -DVERSION=\"ALPHA\" -c smessage.c
> > smessage.c: In function ‘handlekey’:
> > smessage.c:568:2: error: ‘XKeycodeToKeysym’ is deprecated (declared at
> > /usr/include/X11/Xlib.h:1695) [-Werror=deprecated-declarations]
>
> Delete -Werror to make it compile anyway, but this warning is new to
> me. And honestly, I don't think it makes sense, since if the want you
> to use XKB, you won't be using Xlib anyway.
>
> But it clearly shows that i should make a release option in the
> makefile, which is not that picky.
>
> Out of couriousity, what system do you use? I hacked on slackware,
> where I didn't got that warning.
>
> -flo
Received on Sun Feb 26 2012 - 00:30:22 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 26 2012 - 00:36:06 CET