=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for uwm-19881027nb2 yacc -d gram.y cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c -o gram.o y.tab.c In file included from gram.y:42: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // gram.y:402:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] keywordlookup(string) ^~~~~~~~~~~~~ gram.y:414:5: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror(msg); ^ gram.y:444:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] contexprlookup(string) ^~~~~~~~~~~~~~ gram.y:464:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] buttexprlookup(string) ^~~~~~~~~~~~~~ gram.y:485:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] y_atoi(s) ^~~~~~ gram.y:565:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bindtofunc(index, mask, context, name) ^~~~~~~~~~ gram.y:572:9: warning: implicit declaration of function 'setbinding' is invalid in C99 [-Wimplicit-function-declaration] setbinding(ROOT, index, mask, name); ^ gram.y:579:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gram.y:599:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setbinding(cont, i, m, mname) ^~~~~~~~~~ gram.y:625:5: warning: implicit declaration of function 'appendbinding' is invalid in C99 [-Wimplicit-function-declaration] appendbinding(ptr); ^ gram.y:626:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gram.y:631:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] appendbinding(binding) ^~~~~~~~~~~~~ gram.y:644:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gram.y:797:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gram.y:819:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gram.y:843:5: warning: implicit declaration of function 'SetVarDefaults' is invalid in C99 [-Wimplicit-function-declaration] SetVarDefaults(); ^ gram.y:845:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ y.tab.c:874:23: warning: implicit declaration of function 'yylex' is invalid in C99 [-Wimplicit-function-declaration] if ((yychar = YYLEX) < 0) yychar = 0; ^ y.tab.c:94:16: note: expanded from macro 'YYLEX' # define YYLEX yylex() ^ 32 warnings generated. rm -f y.tab.c lex lex.l cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c -o lex.o lex.yy.c lex.l:92:9: warning: implicit declaration of function 'Error' is invalid in C99 [-Wimplicit-function-declaration] Error("out of space"); ^ 1 warning generated. rm -f lex.yy.c cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c globals.c In file included from globals.c:48: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // globals.c:210:14: warning: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' [-Wint-conversion] { NULL, NULL, NULL,NULL,NULL,NULL } ^~~~ /usr/include/sys/null.h:13:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ globals.c:235:13: warning: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' [-Wint-conversion] { NULL, NULL } ^~~~ /usr/include/sys/null.h:13:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ globals.c:248:13: warning: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' [-Wint-conversion] { NULL, NULL } ^~~~ /usr/include/sys/null.h:13:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ globals.c:271:13: warning: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' [-Wint-conversion] { NULL, NULL } ^~~~ /usr/include/sys/null.h:13:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ 18 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Beep.c Beep.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from Beep.c:42: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // 15 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Bindings.c Bindings.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // 1 warning generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c CircleDown.c CircleDown.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from CircleDown.c:44: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // 15 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c CircleUp.c CircleUp.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from CircleUp.c:44: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // 15 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Cursors.c Cursors.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from Cursors.c:44: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // Cursors.c:50:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] StoreCursors() ^~~~~~~~~~~~ Cursors.c:115:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 17 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Focus.c Focus.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from Focus.c:44: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // 15 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c GetButton.c GetButton.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from GetButton.c:57: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // GetButton.c:91:5: warning: implicit declaration of function 'processInterestEvent' is invalid in C99 [-Wimplicit-function-declaration] processInterestEvent (button_event); ^ GetButton.c:115:28: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XMappingEvent *' [-Wincompatible-pointer-types] XRefreshKeyboardMapping (button_event); ^~~~~~~~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:3081:1: note: passing argument to parameter here ); ^ GetButton.c:123:10: warning: implicit declaration of function 'Configure' is invalid in C99 [-Wimplicit-function-declaration] Configure((XConfigureEvent *)button_event); ^ GetButton.c:127:10: warning: implicit declaration of function 'Circulate' is invalid in C99 [-Wimplicit-function-declaration] Circulate((XCirculateEvent *)button_event); ^ GetButton.c:131:3: warning: implicit declaration of function 'deleteWindowInfo' is invalid in C99 [-Wimplicit-function-declaration] deleteWindowInfo (((XDestroyWindowEvent *)button_event)->window); ^ GetButton.c:132:10: warning: implicit declaration of function 'RemoveIcon' is invalid in C99 [-Wimplicit-function-declaration] RemoveIcon(((XDestroyWindowEvent *)button_event)->window); ^ GetButton.c:198:10: warning: implicit declaration of function 'IsIcon' is invalid in C99 [-Wimplicit-function-declaration] if (!IsIcon(icon, icon_x, icon_y, FALSE, &appl)) return(FALSE); ^ GetButton.c:385:51: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] XGetGeometry (dpy, window, &jW, &winx, &winy, &winw, &winh, ^~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:2638:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ GetButton.c:385:58: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] XGetGeometry (dpy, window, &jW, &winx, &winy, &winw, &winh, ^~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:2639:38: note: passing argument to parameter here unsigned int* /* height_return */, ^ GetButton.c:386:9: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &border_width, &j); ^~~~~~~~~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:2640:44: note: passing argument to parameter here unsigned int* /* border_width_return */, ^ GetButton.c:386:24: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &border_width, &j); ^~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:2642:1: note: passing argument to parameter here ); ^ GetButton.c:423:2: warning: implicit declaration of function 'CheckConsistency' is invalid in C99 [-Wimplicit-function-declaration] CheckConsistency(&sizehints); ^ GetButton.c:449:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Configure(event) ^~~~~~~~~ GetButton.c:463:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ GetButton.c:465:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Circulate(event) ^~~~~~~~~ GetButton.c:472:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 31 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c GridBox.c GridBox.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from GridBox.c:49: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // 15 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Iconify.c In file included from Iconify.c:44: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // Iconify.c:83:46: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &mse_x, &mse_y, &sub_win_x, &sub_win_y, &mmask); ^~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:3005:1: note: passing argument to parameter here ); ^ Iconify.c:94:9: warning: implicit declaration of function 'IsIcon' is invalid in C99 [-Wimplicit-function-declaration] if (IsIcon(window, mse_x, mse_y, TRUE, &assoc)) { ^ 16 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Icons.c In file included from Icons.c:39: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // Icons.c:70:9: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &width, &height, &junk, &junk )) { ^~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:2638:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ Icons.c:70:17: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &width, &height, &junk, &junk )) { ^~~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:2639:38: note: passing argument to parameter here unsigned int* /* height_return */, ^ Icons.c:70:26: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &width, &height, &junk, &junk )) { ^~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:2640:44: note: passing argument to parameter here unsigned int* /* border_width_return */, ^ Icons.c:70:33: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &width, &height, &junk, &junk )) { ^~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:2642:1: note: passing argument to parameter here ); ^ Icons.c:71:9: warning: implicit declaration of function 'Warning' is invalid in C99 [-Wimplicit-function-declaration] Warning( "client passed invalid pixmap for icon." ); ^ Icons.c:72:8: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'Pixmap' (aka 'unsigned long') [-Wint-conversion] return( NULL ); ^~~~~~~~ Icons.c:126:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] RemoveIcon(window) ^~~~~~~~~~ Icons.c:149:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Icons.c:151:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetDefaultSize(window, icon_w, icon_h) ^~~~~~~~~~~~~~ Icons.c:168:6: warning: control reaches end of non-void function [-Wreturn-type] } ^ Icons.c:191:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (wmhints = XGetWMHints(dpy, window)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ Icons.c:191:17: note: place parentheses around the assignment to silence this warning if (wmhints = XGetWMHints(dpy, window)) { ^ ( ) Icons.c:191:17: note: use '==' to turn this assignment into an equality comparison if (wmhints = XGetWMHints(dpy, window)) { ^ == Icons.c:199:52: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] MakePixmapFromBitmap( wmhints->icon_pixmap, &icon_w, &icon_h ); ^~~~~~~ Icons.c:199:61: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] MakePixmapFromBitmap( wmhints->icon_pixmap, &icon_w, &icon_h ); ^~~~~~~ Icons.c:279:13: warning: comparison between pointer and integer ('Window' (aka 'unsigned long') and 'void *') if (icon == NULL) return(NULL); ~~~~ ^ ~~~~ Icons.c:279:28: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'Window' (aka 'unsigned long') [-Wint-conversion] if (icon == NULL) return(NULL); ^~~~~~ Icons.c:289:4: warning: implicit declaration of function 'uwmExpressInterest' is invalid in C99 [-Wimplicit-function-declaration] uwmExpressInterest (icon, mask); ^ 30 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Kill.c In file included from Kill.c:5: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // Kill.c:16:9: warning: implicit declaration of function 'IsIcon' is invalid in C99 [-Wimplicit-function-declaration] if (IsIcon(window, x, y, TRUE, &assoc)) ^ 15 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Lower.c Lower.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from Lower.c:42: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // 15 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Menu.c Menu.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from Menu.c:51: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // Menu.c:85:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] execute(s) ^~~~~~~ Menu.c:103:13: warning: implicitly declaring library function 'vfork' with type 'int (void)' if ((pid = vfork()) == 0) { ^ Menu.c:103:13: note: please include the header or explicitly provide a declaration for 'vfork' Menu.c:107:3: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] execl("/bin/sh", "sh", "-c", s, 0); ^ Menu.c:108:3: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' _exit(127); ^ Menu.c:108:3: note: please include the header or explicitly provide a declaration for '_exit' Menu.c:118:14: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] while ((w = wait(&status)) != pid && w != -1) ^ Menu.c:122:17: warning: incompatible pointer types passing 'int (*)()' to parameter of type 'void (*)(int)' [-Wincompatible-pointer-types] signal(SIGINT, istat); ^~~~~ /usr/include/sys/signal.h:246:27: note: passing argument to parameter here void (*signal(int, void (*)(int)))(int); ^ Menu.c:123:18: warning: incompatible pointer types passing 'int (*)()' to parameter of type 'void (*)(int)' [-Wincompatible-pointer-types] signal(SIGQUIT, qstat); ^~~~~ /usr/include/sys/signal.h:246:27: note: passing argument to parameter here void (*signal(int, void (*)(int)))(int); ^ Menu.c:125:2: warning: implicit declaration of function 'clear_children' is invalid in C99 [-Wimplicit-function-declaration] clear_children(); ^ Menu.c:159:5: warning: implicit declaration of function 'MapMenu' is invalid in C99 [-Wimplicit-function-declaration] MapMenu(menu, x, y); ^ Menu.c:197:18: warning: implicit declaration of function 'ResetCursor' is invalid in C99 [-Wimplicit-function-declaration] ResetCursor(button); ^ Menu.c:198:7: warning: implicit declaration of function 'UnmapMenu' is invalid in C99 [-Wimplicit-function-declaration] UnmapMenu(menu); ^ Menu.c:326:29: warning: implicit declaration of function 'GetContext' is invalid in C99 [-Wimplicit-function-declaration] funcbutton = GetContext (&sub_window, ^ Menu.c:399:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CreateMenus() ^~~~~~~~~~~ Menu.c:411:9: warning: implicit declaration of function 'InitMenu' is invalid in C99 [-Wimplicit-function-declaration] InitMenu(ptr->menu); ^ Menu.c:412:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Menu.c:417:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitMenu(menu) ^~~~~~~~ Menu.c:447:5: warning: implicit declaration of function 'GetMenuColors' is invalid in C99 [-Wimplicit-function-declaration] GetMenuColors(menu); ^ Menu.c:455:17: warning: incompatible pointer to integer conversion assigning to 'Pixmap' (aka 'unsigned long') from 'void *' [-Wint-conversion] menu->image = NULL; ^ ~~~~ Menu.c:483:5: warning: implicit declaration of function 'uwmExpressInterest' is invalid in C99 [-Wimplicit-function-declaration] uwmExpressInterest (menu->w, attr.event_mask); ^ Menu.c:485:17: warning: comparison between pointer and integer ('Window' (aka 'unsigned long') and 'void *') if (menu->w == NULL) Error("InitMenu -> Couldn't create menu window"); ~~~~~~~ ^ ~~~~ Menu.c:499:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Menu.c:504:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MapMenu(menu, x, y) ^~~~~~~ Menu.c:562:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Menu.c:568:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] UnmapMenu(menu) ^~~~~~~~~ Menu.c:576:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Menu.c:631:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetMenuColors(menu) ^~~~~~~~~~~~~ Menu.c:710:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 42 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Move.c Move.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from Move.c:42: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // Move.c:148:24: warning: implicit declaration of function 'ProcessRequests' is invalid in C99 [-Wimplicit-function-declaration] if (XPending(dpy) && !ProcessRequests(box, num_vectors) && GetButton(&button_event)) { ^ Move.c:194:3: warning: implicit declaration of function 'ResetCursor' is invalid in C99 [-Wimplicit-function-declaration] ResetCursor(button); ^ Move.c:204:43: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &root_x, &root_y, &cur_x, &cur_y, &ptrmask); ^~~~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:3005:1: note: passing argument to parameter here ); ^ 18 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c MoveOpaque.c MoveOpaque.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from MoveOpaque.c:44: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // MoveOpaque.c:96:3: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &ptrmask); ^~~~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:3005:1: note: passing argument to parameter here ); ^ MoveOpaque.c:114:17: warning: implicit declaration of function 'ResetCursor' is invalid in C99 [-Wimplicit-function-declaration] ResetCursor(button); ^ 17 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c NewIconify.c In file included from NewIconify.c:38: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // NewIconify.c:100:10: warning: implicit declaration of function 'IsIcon' is invalid in C99 [-Wimplicit-function-declaration] if (!IsIcon(window, x, y, FALSE, &icon)) { ^ NewIconify.c:191:24: warning: implicit declaration of function 'ProcessRequests' is invalid in C99 [-Wimplicit-function-declaration] if (XPending(dpy) && !ProcessRequests(box, num_vectors) && GetButton(&button_event)) { ^ NewIconify.c:228:3: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &ptrmask); ^~~~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:3005:1: note: passing argument to parameter here ); ^ NewIconify.c:285:6: warning: implicit declaration of function 'ResetCursor' is invalid in C99 [-Wimplicit-function-declaration] ResetCursor(button); ^ 18 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Pause.c Pause.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from Pause.c:44: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // 15 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Push.c Push.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from Push.c:44: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // 15 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Error.c Error.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from Error.c:42: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // Error.c:47:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Error(s) ^~~~~ Error.c:54:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Warning(s) ^~~~~~~ Error.c:58:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 18 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Raise.c In file included from Raise.c:43: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // 14 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Refresh.c Refresh.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from Refresh.c:44: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // Refresh.c:77:53: warning: comparison between pointer and integer ('Window' (aka 'unsigned long') and 'void *') (Pixmap) 0, (Pixmap) 0)) == NULL) ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ 16 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Resize.c Resize.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from Resize.c:44: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // Resize.c:104:9: warning: implicit declaration of function 'IsIcon' is invalid in C99 [-Wimplicit-function-declaration] if (IsIcon(window, 0, 0, FALSE, NULL)) ^ Resize.c:150:5: warning: implicit declaration of function 'CheckConsistency' is invalid in C99 [-Wimplicit-function-declaration] CheckConsistency(&sizehints); ^ Resize.c:402:24: warning: implicit declaration of function 'ProcessRequests' is invalid in C99 [-Wimplicit-function-declaration] if (XPending(dpy) && !ProcessRequests(box, num_vectors) && GetButton(&button_event)) { ^ Resize.c:423:3: warning: implicit declaration of function 'ResetCursor' is invalid in C99 [-Wimplicit-function-declaration] ResetCursor(button); ^ Resize.c:429:46: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &sub_win, &root_x, &root_y, &x2, &y2, &ptrmask); ^~~~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:3005:1: note: passing argument to parameter here ); ^ Resize.c:505:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CheckConsistency(hints) ^~~~~~~~~~~~~~~~ Resize.c:529:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 22 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c Restart.c In file included from Restart.c:38: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // Restart.c:62:5: warning: implicit declaration of function 'execvp' is invalid in C99 [-Wimplicit-function-declaration] execvp(*Argv, Argv); ^ Restart.c:71:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 16 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c RubberBand.c In file included from RubberBand.c:37: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // RubberBand.c:139:3: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (1); ^ RubberBand.c:176:40: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] XGetGeometry (dpy, window, &root, &dummyint, &dummyint, ^~~~~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:2636:25: note: passing argument to parameter here int* /* x_return */, ^ RubberBand.c:176:51: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] XGetGeometry (dpy, window, &root, &dummyint, &dummyint, ^~~~~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:2637:25: note: passing argument to parameter here int* /* y_return */, ^ RubberBand.c:177:6: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &defwidth, &defheight, &border_width, &dummyint); ^~~~~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:2638:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ RubberBand.c:177:17: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &defwidth, &defheight, &border_width, &dummyint); ^~~~~~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:2639:38: note: passing argument to parameter here unsigned int* /* height_return */, ^ RubberBand.c:177:29: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &defwidth, &defheight, &border_width, &dummyint); ^~~~~~~~~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:2640:44: note: passing argument to parameter here unsigned int* /* border_width_return */, ^ RubberBand.c:232:30: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &rootx, &rooty, &x1, &y1, &mask); ^~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:3005:1: note: passing argument to parameter here ); ^ RubberBand.c:339:39: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &subw, &rootx, &rooty, &x2, &y2, &mask); ^~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:3005:1: note: passing argument to parameter here ); ^ RubberBand.c:342:43: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &subw, &rootx, &rooty, &x2, &y2, &mask); ^~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:3005:1: note: passing argument to parameter here ); ^ 23 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c StoreBox.c StoreBox.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from StoreBox.c:48: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // 15 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c StoreZap.c StoreZap.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from StoreZap.c:49: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // 15 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c XError.c XError.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // In file included from XError.c:42: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // 15 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c uwm.c In file included from uwm.c:42: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // uwm.c:77:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clear_children() ^~~~~~~~~~~~~~ uwm.c:89:18: warning: incompatible pointer types passing 'int ()' to parameter of type 'void (*)(int)' [-Wincompatible-pointer-types] signal(SIGCHLD, clear_children); ^~~~~~~~~~~~~~ /usr/include/sys/signal.h:246:27: note: passing argument to parameter here void (*signal(int, void (*)(int)))(int); ^ uwm.c:90:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ uwm.c:112:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv, environ) ^~~~ uwm.c:162:5: warning: implicit declaration of function 'SetVarDefaults' is invalid in C99 [-Wimplicit-function-declaration] SetVarDefaults(); ^ uwm.c:175:7: warning: implicit declaration of function 'Usage' is invalid in C99 [-Wimplicit-function-declaration] Usage (); ^ uwm.c:195:9: warning: implicit declaration of function 'InitBindings' is invalid in C99 [-Wimplicit-function-declaration] InitBindings(); ^ uwm.c:231:9: warning: implicit declaration of function 'yyparse' is invalid in C99 [-Wimplicit-function-declaration] yyparse(); ^ uwm.c:257:5: warning: implicit declaration of function 'VerifyMenuBindings' is invalid in C99 [-Wimplicit-function-declaration] VerifyMenuBindings(); ^ uwm.c:264:5: warning: implicit declaration of function 'VerifyMenuVariables' is invalid in C99 [-Wimplicit-function-declaration] VerifyMenuVariables(); ^ uwm.c:369:5: warning: implicit declaration of function 'Grab_Buttons' is invalid in C99 [-Wimplicit-function-declaration] Grab_Buttons(); ^ uwm.c:382:5: warning: implicit declaration of function 'initColormap' is invalid in C99 [-Wimplicit-function-declaration] initColormap (); ^ uwm.c:387:12: warning: implicit declaration of function 'uwmExpressInterest' is invalid in C99 [-Wimplicit-function-declaration] (void) uwmExpressInterest (RootWindow (dpy, scr), ^ uwm.c:396:41: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &parent_return, &children_return, &nchildren_return)) { ^~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:3036:1: note: passing argument to parameter here ); ^ uwm.c:544:17: warning: implicit declaration of function 'IsIcon' is invalid in C99 [-Wimplicit-function-declaration] if (IsIcon(event_win, 0, 0, FALSE, NULL)) ^ uwm.c:655:60: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &root, &event_win, &root_x, &root_y, &cur_x, &cur_y, &ptrmask); ^~~~~~~~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xlib.h:3005:1: note: passing argument to parameter here ); ^ uwm.c:726:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitBindings() ^~~~~~~~~~~~ uwm.c:779:5: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(tempfile); ^ uwm.c:794:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ uwm.c:802:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] VerifyMenuBindings() ^~~~~~~~~~~~~~~~~~ uwm.c:823:5: warning: implicit declaration of function 'CheckMenus' is invalid in C99 [-Wimplicit-function-declaration] CheckMenus(); ^ uwm.c:824:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ uwm.c:829:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] VerifyMenuVariables() ^~~~~~~~~~~~~~~~~~~ uwm.c:837:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ uwm.c:844:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CheckMenus() ^~~~~~~~~~ uwm.c:855:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ uwm.c:886:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Grab_Buttons() ^~~~~~~~~~~~ uwm.c:900:6: warning: implicit declaration of function 'Grab' is invalid in C99 [-Wimplicit-function-declaration] Grab(bptr->mask); ^ uwm.c:902:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ uwm.c:907:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Grab(mask) ^~~~ uwm.c:931:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ uwm.c:936:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ResetCursor(button) ^~~~~~~~~~~ uwm.c:956:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ uwm.c:961:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yyerror(s) ^~~~~~~ uwm.c:966:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ uwm.c:971:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Usage() ^~~~~ uwm.c:984:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] XIOError(dsp) ^~~~~~~~ uwm.c:991:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetVarDefaults() ^~~~~~~~~~~~~~ uwm.c:1011:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 53 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c colormap.c In file included from colormap.c:5: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // colormap.c:22:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] initColormap () ^~~~~~~~~~~~ colormap.c:31:2: warning: implicit declaration of function 'noteInstalledColormap' is invalid in C99 [-Wimplicit-function-declaration] noteInstalledColormap (colormaps[i]); ^ colormap.c:32:5: warning: implicit declaration of function 'expressWindowInterest' is invalid in C99 [-Wimplicit-function-declaration] expressWindowInterest (initColormapTrack, colormapTrack); ^ colormap.c:34:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ colormap.c:36:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] initColormapTrack (wi, wa) ^~~~~~~~~~~~~~~~~ colormap.c:44:2: warning: implicit declaration of function 'noteWindowAttached' is invalid in C99 [-Wimplicit-function-declaration] noteWindowAttached (wi->window, wi->colormap); ^ colormap.c:52:6: warning: implicit declaration of function 'uninstallColormap' is invalid in C99 [-Wimplicit-function-declaration] uninstallColormap (wi->colormap); ^ colormap.c:53:2: warning: implicit declaration of function 'noteWindowUnattached' is invalid in C99 [-Wimplicit-function-declaration] noteWindowUnattached (wi->window, wi->colormap); ^ colormap.c:55:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ colormap.c:57:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] colormapTrack (wi, ev) ^~~~~~~~~~~~~ colormap.c:73:6: warning: implicit declaration of function 'noteUninstalledColormap' is invalid in C99 [-Wimplicit-function-declaration] noteUninstalledColormap (cev->colormap); ^ colormap.c:195:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ colormap.c:226:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] deleteColormap (colormap) ^~~~~~~~~~~~~~ colormap.c:243:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ colormap.c:245:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] noteWindowAttached (window, colormap) ^~~~~~~~~~~~~~~~~~ colormap.c:253:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ colormap.c:255:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] noteWindowUnattached (window, colormap) ^~~~~~~~~~~~~~~~~~~~ colormap.c:264:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ colormap.c:266:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] noteInstalledColormap (colormap) ^~~~~~~~~~~~~~~~~~~~~ colormap.c:285:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ colormap.c:287:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] noteUninstalledColormap (colormap) ^~~~~~~~~~~~~~~~~~~~~~~ colormap.c:302:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ colormap.c:329:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] uninstallColormap (colormap) ^~~~~~~~~~~~~~~~~ colormap.c:342:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 38 warnings generated. cc -O -I../.. -I/usr/pkg/include -I /usr/X11R7/include -DSYSFILE=\"/usr/pkg/lib/X11/uwm/system.uwmrc\" -I/usr/X11R7/include -c windowinfo.c In file included from windowinfo.c:5: In file included from ./uwm.h:50: In file included from /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:54: In file included from ../../X11/keysym.h:35: ../../X11/keysymdef.h:195:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_MISCELLANY ^ // ../../X11/keysymdef.h:394:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN1 ^ // ../../X11/keysymdef.h:455:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN2 ^ // ../../X11/keysymdef.h:485:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN3 ^ // ../../X11/keysymdef.h:529:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_LATIN4 ^ // ../../X11/keysymdef.h:602:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_KATAKANA ^ // ../../X11/keysymdef.h:659:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_ARABIC ^ // ../../X11/keysymdef.h:759:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_CYRILLIC ^ // ../../X11/keysymdef.h:839:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_GREEK ^ // ../../X11/keysymdef.h:896:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_TECHNICAL ^ // ../../X11/keysymdef.h:928:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_SPECIAL ^ // ../../X11/keysymdef.h:1019:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_PUBLISHING ^ // ../../X11/keysymdef.h:1046:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_APL ^ // ../../X11/keysymdef.h:1082:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XK_HEBREW ^ // windowinfo.c:54:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] processInterestEvent (ev) ^~~~~~~~~~~~~~~~~~~~ windowinfo.c:72:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ windowinfo.c:99:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] deleteWindowInfo (w) ^~~~~~~~~~~~~~~~ windowinfo.c:105:43: warning: incompatible pointer types passing 'WindowInfo **' (aka 'struct _windowInfo **') to parameter of type 'XPointer *' (aka 'char **') [-Wincompatible-pointer-types] if (XFindContext (dpy, w, windowInfo, &i) == XCSUCCESS) { ^~ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:421:1: note: passing argument to parameter here ); ^ windowinfo.c:111:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ windowinfo.c:120:15: warning: implicit declaration of function 'XrmUniqueQuark' is invalid in C99 [-Wimplicit-function-declaration] windowInfo = XUniqueContext (); ^ /usr/pkgsrc/work/wm/uwm/work/.buildlink/include/X11/Xutil.h:359:44: note: expanded from macro 'XUniqueContext' #define XUniqueContext() ((XContext) XrmUniqueQuark()) ^ windowinfo.c:127:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] uwmExpressInterest (w, eventMask) ^~~~~~~~~~~~~~~~~~ windowinfo.c:135:24: warning: | has lower precedence than !=; != will be evaluated first [-Wparentheses] if (i->uwm_event_mask | eventMask != i->uwm_event_mask) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windowinfo.c:135:24: note: place parentheses around the '!=' expression to silence this warning if (i->uwm_event_mask | eventMask != i->uwm_event_mask) { ^ ( ) windowinfo.c:135:24: note: place parentheses around the | expression to evaluate it first if (i->uwm_event_mask | eventMask != i->uwm_event_mask) { ^ ( ) windowinfo.c:137:24: warning: | has lower precedence than !=; != will be evaluated first [-Wparentheses] if (i->event_mask | i->uwm_event_mask != i->event_mask) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windowinfo.c:137:24: note: place parentheses around the '!=' expression to silence this warning if (i->event_mask | i->uwm_event_mask != i->event_mask) { ^ ( ) windowinfo.c:137:24: note: place parentheses around the | expression to evaluate it first if (i->event_mask | i->uwm_event_mask != i->event_mask) { ^ ( ) windowinfo.c:143:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 24 warnings generated. bmake: don't know how to make /usr/pkg/lib/libXaw.a. Stop bmake: stopped in /usr/pkgsrc/work/wm/uwm/work/X.V11R3/clients/uwm *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/wm/uwm *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/wm/uwm