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]
cc1: all warnings being treated as errors

make: *** [smessage.o] Error 1



On 11:55 Tue 21 Feb     , Florian Limberger wrote:
> Greetings list,
> 
> I have hacked up a simple xmessage replacement which looks neater,
> has dmenu-like handling and supports unicode.
> 
> Since this is my first real project, I appreciate serious criticism of
> the code.
> 
> Thanks go out to Christoph Lohmann for svkb/thingmenu, which inspired
> various pieces of code.
> 
> I do not consider the program finished yet, just grep for TODO to see
> what I mean.
> 
> -flo

Reply via email to