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

Reply via email to