+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/icewm-imlib-1.2.38pre2nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/icewm-imlib-1.2.38pre2nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for icewm-imlib-1.2.38pre2nb2 gmake[1]: Entering directory '/home/pbulk/build/wm/icewm-imlib/work/icewm-1.2.38pre2/src' CXX ymsgbox.o In file included from ywindow.h:4, from wmclient.h:5, from ydialog.h:4, from ymsgbox.h:4, from ymsgbox.cc:13: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmclient.h:6: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ CXX ydialog.o In file included from ywindow.h:4, from wmclient.h:5, from ydialog.h:4, from ydialog.cc:13: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmclient.h:6: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ ydialog.cc: In member function 'virtual bool YDialog::handleKey(const XKeyEvent&)': ydialog.cc:67:36: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 67 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/Imlib_types.h:1, from /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/Imlib.h:4, from ypixbuf.h:20, from ydialog.cc:11: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ CXX yurl.o CXX wmsession.o In file included from ywindow.h:4, from wmframe.h:4, from wmsession.cc:14: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmframe.h:5: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ wmsession.cc: In function 'void loadWindowInfo()': wmsession.cc:240:60: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 240 | x, y, w, h, state, layer, workspace); | ^~~~~ wmsession.cc:240:67: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 240 | x, y, w, h, state, layer, workspace); | ^~~~~~~~~ wmsession.cc:256:60: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 256 | x, y, w, h, state, layer, workspace); | ^~~~~ wmsession.cc:256:67: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 256 | x, y, w, h, state, layer, workspace); | ^~~~~~~~~ CXX wmwinlist.o In file included from wmwinlist.cc:10: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmclient.h:6, from wmwinlist.h:6, from wmwinlist.cc:11: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ wmwinlist.cc: In member function 'virtual void WindowListBox::actionPerformed(YAction*, unsigned int)': wmwinlist.cc:119:52: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 119 | frameList.getCount(), | ~~~~~~~~~~~~~~~~~~^~ wmwinlist.cc:127:57: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 127 | frameList.getCount()); | ~~~~~~~~~~~~~~~~~~^~ wmwinlist.cc:130:55: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 130 | frameList.getCount()); | ~~~~~~~~~~~~~~~~~~^~ wmwinlist.cc: In member function 'virtual bool WindowListBox::handleKey(const XKeyEvent&)': wmwinlist.cc:150:36: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 150 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ylib.h:9, from ykey.h:4, from wmwinlist.cc:9: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ wmwinlist.cc: In member function 'void WindowList::insertApp(WindowListItem*)': wmwinlist.cc:380:37: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 380 | int nw = frame->getWorkspace(); | ~~~~~~~~~~~~~~~~~~~^~ CXX wmtaskbar.o In file included from wmtaskbar.cc:14: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmtaskbar.h:6, from wmtaskbar.cc:15: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ CXX wmwinmenu.o In file included from ywindow.h:4, from ypopup.h:4, from ymenu.h:4, from wmwinmenu.cc:12: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ CXX wmdialog.o In file included from ywindow.h:4, from wmdialog.h:4, from wmdialog.cc:11: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmapp.h:5, from wmdialog.cc:16: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ wmdialog.cc: In member function 'virtual bool CtrlAltDelete::handleKey(const XKeyEvent&)': wmdialog.cc:209:32: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 209 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ylib.h:9, from ykey.h:4, from wmdialog.cc:10: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ CXX wmabout.o wmabout.cc:26:25: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 26 | char const *version("IceWM "VERSION" ("HOSTOS"/"HOSTCPU")"); | ^ wmabout.cc:26:40: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 26 | char const *version("IceWM "VERSION" ("HOSTOS"/"HOSTCPU")"); | ^ wmabout.cc:26:50: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 26 | char const *version("IceWM "VERSION" ("HOSTOS"/"HOSTCPU")"); | ^ In file included from ywindow.h:4, from wmclient.h:5, from ydialog.h:4, from wmabout.h:4, from wmabout.cc:12: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmclient.h:6: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ CXX wmswitch.o In file included from ywindow.h:4, from ypopup.h:4, from ymenu.h:4, from wmswitch.h:4, from wmswitch.cc:12: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ wmswitch.cc: In member function 'virtual void SwitchWindow::paint(Graphics&, const YRect&)': wmswitch.cc:248:42: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 248 | g.drawChars(cTitle, 0, strlen(cTitle), x, y); | ~~~~~~^~~~~~~~ wmswitch.cc:358:46: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 358 | g.drawChars(cTitle, 0, strlen(cTitle), x, y); | ~~~~~~^~~~~~~~ wmswitch.cc: In member function 'int SwitchWindow::getZList(YFrameWindow**, int)': wmswitch.cc:419:53: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 419 | int activeWorkspace = fRoot->activeWorkspace(); | ~~~~~~~~~~~~~~~~~~~~~~^~ wmswitch.cc: In member function 'virtual bool SwitchWindow::handleKey(const XKeyEvent&)': wmswitch.cc:687:32: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 687 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/Imlib_types.h:1, from /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/Imlib.h:4, from ypixbuf.h:20, from wmswitch.cc:10: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ wmswitch.cc: In member function 'bool SwitchWindow::isModKey(KeyCode)': wmswitch.cc:721:32: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 721 | KeySym k = XKeycodeToKeysym(xapp->display(), c, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ CXX wmstatus.o In file included from ywindow.h:4, from wmstatus.h:6, from wmstatus.cc:12: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmswitch.h:4, from wmstatus.cc:13: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ wmstatus.cc: In member function 'virtual void YWindowManagerStatus::paint(Graphics&, const YRect&)': wmstatus.cc:72:34: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 72 | g.drawChars(status, 0, strlen(status), | ~~~~~~^~~~~~~~ CXX wmoption.o In file included from ywindow.h:4, from wmframe.h:4, from wmoption.cc:11: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmframe.h:5: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ wmoption.cc: In member function 'WindowOption* WindowOptions::getWindowOption(const char*, bool, bool)': wmoption.cc:42:42: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 42 | int lo = 0, hi = fWinOptions.getCount(); | ~~~~~~~~~~~~~~~~~~~~^~ wmoption.cc: In function 'char* parseWinOptions(char*)': wmoption.cc:321:42: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 321 | class_instance = newstr(w, d - w); | ~~^~~ wmoption.cc: In function 'void loadWinOptions(const char*)': wmoption.cc:371:18: warning: conversion from 'off_t' {aka 'long int'} to 'int' may change value [-Wconversion] 371 | int len = sb.st_size; | ~~~^~~~~~~ wmoption.cc:377:20: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 377 | if ((len = read(fd, buf, len)) < 0) { | ~~~~^~~~~~~~~~~~~~ CXX wmaction.o CXX wmcontainer.o In file included from ywindow.h:4, from wmcontainer.h:4, from wmcontainer.cc:9: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmframe.h:5, from wmcontainer.cc:11: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ wmcontainer.cc: In member function 'void YClientContainer::grabActions()': wmcontainer.cc:179:68: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 179 | grabVButton(gMouseWinMove.key - XK_Pointer_Button1 + 1, gMouseWinMove.mod); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ wmcontainer.cc:181:68: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 181 | grabVButton(gMouseWinSize.key - XK_Pointer_Button1 + 1, gMouseWinSize.mod); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ wmcontainer.cc:183:69: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 183 | grabVButton(gMouseWinRaise.key - XK_Pointer_Button1 + 1, gMouseWinRaise.mod); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ CXX wmclient.o In file included from ywindow.h:4, from wmclient.h:5, from wmclient.cc:8: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmclient.h:6: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ wmclient.cc: In member function 'void YFrameClient::constrainSize(int&, int&, int)': wmclient.cc:230:31: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 230 | MSG(("keepX")); | ^ wmclient.cc:232:31: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 232 | MSG(("keepY")); | ^ wmclient.cc: In member function 'FrameState YFrameClient::getFrameState()': wmclient.cc:395:14: warning: conversion from 'long int' to 'FrameState' {aka 'int'} may change value [-Wconversion] 395 | st = *(long *)propdata; | ^~~~~~~~~~~~~~~~~ wmclient.cc: In member function 'virtual void YFrameClient::handleClientMessage(const XClientMessageEvent&)': wmclient.cc:692:55: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 692 | getFrame()->startMoveSize(message.data.l[0], message.data.l[1], | ~~~~~~~~~~~~~~~~^ wmclient.cc:692:74: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 692 | getFrame()->startMoveSize(message.data.l[0], message.data.l[1], | ~~~~~~~~~~~~~~~~^ wmclient.cc:693:55: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 693 | message.data.l[2]); | ~~~~~~~~~~~~~~~~^ wmclient.cc: In member function 'bool YFrameClient::getKwmIcon(int*, Pixmap**)': wmclient.cc:958:22: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 958 | *count = nitems; | ^~~~~~ wmclient.cc: In member function 'bool YFrameClient::getWinIcons(Atom*, int*, long int**)': wmclient.cc:999:26: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 999 | *count = nitems; | ^~~~~~ wmclient.cc: In member function 'bool YFrameClient::getNetWMStrut(int*, int*, int*, int*)': wmclient.cc:1489:28: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 1489 | *left = strut[0]; | ~~~~~~~^ wmclient.cc:1490:29: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 1490 | *right = strut[1]; | ~~~~~~~^ wmclient.cc:1491:27: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 1491 | *top = strut[2]; | ~~~~~~~^ wmclient.cc:1492:30: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 1492 | *bottom = strut[3]; | ~~~~~~~^ CXX wmmgr.o In file included from ywindow.h:4, from wmmgr.h:5, from wmmgr.cc:8: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmmgr.h:6: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ In file included from prefs.h:5, from wmmgr.cc:27: wmmgr.cc: In member function 'virtual void YWindowManager::grabKeys()': bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:124:9: note: in expansion of macro 'GRAB_WMKEY' 124 | GRAB_WMKEY(gKeySysAddressBar); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:129:9: note: in expansion of macro 'GRAB_WMKEY' 129 | GRAB_WMKEY(gKeySysSwitchNext); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:130:9: note: in expansion of macro 'GRAB_WMKEY' 130 | GRAB_WMKEY(gKeySysSwitchLast); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:132:5: note: in expansion of macro 'GRAB_WMKEY' 132 | GRAB_WMKEY(gKeySysWinNext); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:133:5: note: in expansion of macro 'GRAB_WMKEY' 133 | GRAB_WMKEY(gKeySysWinPrev); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:134:5: note: in expansion of macro 'GRAB_WMKEY' 134 | GRAB_WMKEY(gKeySysDialog); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:136:5: note: in expansion of macro 'GRAB_WMKEY' 136 | GRAB_WMKEY(gKeySysWorkspacePrev); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:137:5: note: in expansion of macro 'GRAB_WMKEY' 137 | GRAB_WMKEY(gKeySysWorkspaceNext); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:138:5: note: in expansion of macro 'GRAB_WMKEY' 138 | GRAB_WMKEY(gKeySysWorkspaceLast); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:140:5: note: in expansion of macro 'GRAB_WMKEY' 140 | GRAB_WMKEY(gKeySysWorkspacePrevTakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:141:5: note: in expansion of macro 'GRAB_WMKEY' 141 | GRAB_WMKEY(gKeySysWorkspaceNextTakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:142:5: note: in expansion of macro 'GRAB_WMKEY' 142 | GRAB_WMKEY(gKeySysWorkspaceLastTakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:144:5: note: in expansion of macro 'GRAB_WMKEY' 144 | GRAB_WMKEY(gKeySysWinMenu); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:145:5: note: in expansion of macro 'GRAB_WMKEY' 145 | GRAB_WMKEY(gKeySysMenu); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:146:5: note: in expansion of macro 'GRAB_WMKEY' 146 | GRAB_WMKEY(gKeySysWindowList); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:147:5: note: in expansion of macro 'GRAB_WMKEY' 147 | GRAB_WMKEY(gKeySysWinListMenu); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:149:5: note: in expansion of macro 'GRAB_WMKEY' 149 | GRAB_WMKEY(gKeySysWorkspace1); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:150:5: note: in expansion of macro 'GRAB_WMKEY' 150 | GRAB_WMKEY(gKeySysWorkspace2); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:151:5: note: in expansion of macro 'GRAB_WMKEY' 151 | GRAB_WMKEY(gKeySysWorkspace3); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:152:5: note: in expansion of macro 'GRAB_WMKEY' 152 | GRAB_WMKEY(gKeySysWorkspace4); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:153:5: note: in expansion of macro 'GRAB_WMKEY' 153 | GRAB_WMKEY(gKeySysWorkspace5); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:154:5: note: in expansion of macro 'GRAB_WMKEY' 154 | GRAB_WMKEY(gKeySysWorkspace6); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:155:5: note: in expansion of macro 'GRAB_WMKEY' 155 | GRAB_WMKEY(gKeySysWorkspace7); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:156:5: note: in expansion of macro 'GRAB_WMKEY' 156 | GRAB_WMKEY(gKeySysWorkspace8); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:157:5: note: in expansion of macro 'GRAB_WMKEY' 157 | GRAB_WMKEY(gKeySysWorkspace9); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:158:5: note: in expansion of macro 'GRAB_WMKEY' 158 | GRAB_WMKEY(gKeySysWorkspace10); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:159:5: note: in expansion of macro 'GRAB_WMKEY' 159 | GRAB_WMKEY(gKeySysWorkspace11); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:160:5: note: in expansion of macro 'GRAB_WMKEY' 160 | GRAB_WMKEY(gKeySysWorkspace12); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:162:5: note: in expansion of macro 'GRAB_WMKEY' 162 | GRAB_WMKEY(gKeySysWorkspace1TakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:163:5: note: in expansion of macro 'GRAB_WMKEY' 163 | GRAB_WMKEY(gKeySysWorkspace2TakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:164:5: note: in expansion of macro 'GRAB_WMKEY' 164 | GRAB_WMKEY(gKeySysWorkspace3TakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:165:5: note: in expansion of macro 'GRAB_WMKEY' 165 | GRAB_WMKEY(gKeySysWorkspace4TakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:166:5: note: in expansion of macro 'GRAB_WMKEY' 166 | GRAB_WMKEY(gKeySysWorkspace5TakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:167:5: note: in expansion of macro 'GRAB_WMKEY' 167 | GRAB_WMKEY(gKeySysWorkspace6TakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:168:5: note: in expansion of macro 'GRAB_WMKEY' 168 | GRAB_WMKEY(gKeySysWorkspace7TakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:169:5: note: in expansion of macro 'GRAB_WMKEY' 169 | GRAB_WMKEY(gKeySysWorkspace8TakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:170:5: note: in expansion of macro 'GRAB_WMKEY' 170 | GRAB_WMKEY(gKeySysWorkspace9TakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:171:5: note: in expansion of macro 'GRAB_WMKEY' 171 | GRAB_WMKEY(gKeySysWorkspace10TakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:172:5: note: in expansion of macro 'GRAB_WMKEY' 172 | GRAB_WMKEY(gKeySysWorkspace11TakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:173:5: note: in expansion of macro 'GRAB_WMKEY' 173 | GRAB_WMKEY(gKeySysWorkspace12TakeWin); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:175:5: note: in expansion of macro 'GRAB_WMKEY' 175 | GRAB_WMKEY(gKeySysTileVertical); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:176:5: note: in expansion of macro 'GRAB_WMKEY' 176 | GRAB_WMKEY(gKeySysTileHorizontal); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:177:5: note: in expansion of macro 'GRAB_WMKEY' 177 | GRAB_WMKEY(gKeySysCascade); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:178:5: note: in expansion of macro 'GRAB_WMKEY' 178 | GRAB_WMKEY(gKeySysArrange); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:179:5: note: in expansion of macro 'GRAB_WMKEY' 179 | GRAB_WMKEY(gKeySysUndoArrange); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:180:5: note: in expansion of macro 'GRAB_WMKEY' 180 | GRAB_WMKEY(gKeySysArrangeIcons); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:181:5: note: in expansion of macro 'GRAB_WMKEY' 181 | GRAB_WMKEY(gKeySysMinimizeAll); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:182:5: note: in expansion of macro 'GRAB_WMKEY' 182 | GRAB_WMKEY(gKeySysHideAll); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:184:5: note: in expansion of macro 'GRAB_WMKEY' 184 | GRAB_WMKEY(gKeySysShowDesktop); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmmgr.cc:187:9: note: in expansion of macro 'GRAB_WMKEY' 187 | GRAB_WMKEY(gKeySysCollapseTaskBar); | ^~~~~~~~~~ wmmgr.cc:194:28: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 194 | grabVKey(k->key(), k->modifiers()); | ~~~~~~^~ wmmgr.cc: In member function 'virtual bool YWindowManager::handleKey(const XKeyEvent&)': wmmgr.cc:502:36: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 502 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ylib.h:9, from ykey.h:4, from yfull.h:4, from wmmgr.cc:7: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ wmmgr.cc:520:36: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 520 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ wmmgr.cc: In member function 'virtual void YWindowManager::handleConfigureRequest(const XConfigureRequestEvent&)': wmmgr.cc:632:43: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion] 632 | configureRequest.value_mask, &xwc); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ wmmgr.cc: In member function 'virtual void YWindowManager::handleUnmap(const XUnmapEvent&)': wmmgr.cc:646:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 646 | MSG(("unhandled root window unmap: %lX %lX", (long)unmap.window, (long)handle())); | ^ wmmgr.cc: In member function 'Window YWindowManager::findWindow(const char*)': wmmgr.cc:728:62: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 728 | wmInstance = (dot != resource ? newstr(resource, dot - resource) : 0); | ~~~~^~~~~~~~~~ wmmgr.cc: In member function 'void YWindowManager::destroyedClient(Window)': wmmgr.cc:1609:55: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 1609 | MSG(("destroyed: unknown window: 0x%lX", win)); | ^ wmmgr.cc: In member function 'void YWindowManager::updateWorkArea()': wmmgr.cc:1949:24: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 1949 | fWorkAreaCount = ::workspaceCount; | ~~^~~~~~~~~~~~~~ wmmgr.cc: In member function 'void YWindowManager::announceWorkArea()': wmmgr.cc:2029:28: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 2029 | int nw = workspaceCount(); | ~~~~~~~~~~~~~~^~ wmmgr.cc:2053:18: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 2053 | int cw = fActiveWorkspace; | ^~~~~~~~~~~~~~~~ wmmgr.cc: In member function 'void YWindowManager::resizeWindows()': wmmgr.cc:2085:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2085 | if (f->isMaximized()) | ^~ wmmgr.cc:2087:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2087 | f->updateLayout(); | ^ CXX wmapp.o wmapp.cc:223:27: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 223 | const char wmname[] = "IceWM "VERSION" ("HOSTOS"/"HOSTCPU")"; | ^ wmapp.cc:223:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 223 | const char wmname[] = "IceWM "VERSION" ("HOSTOS"/"HOSTCPU")"; | ^ wmapp.cc:223:52: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 223 | const char wmname[] = "IceWM "VERSION" ("HOSTOS"/"HOSTCPU")"; | ^ In file included from ywindow.h:4, from atray.h:13, from wmapp.cc:10: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmclient.h:6, from atray.h:14: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ wmapp.cc: In function 'void initFontPath()': wmapp.cc:372:63: warning: conversion from 'std::size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 372 | (unsigned char *) fontsdir, strlen(fontsdir)); | ~~~~~~^~~~~~~~~~ wmapp.cc: In function 'void initWorkspaces()': wmapp.cc:873:51: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 873 | if (XStringListToTextProperty(workspaceNames, workspaceCount, &names)) { | ^~~~~~~~~~~~~~ wmapp.cc: In member function 'virtual void YWMApp::afterWindowEvent(XEvent&)': wmapp.cc:1492:37: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 1492 | KeySym k1 = XKeycodeToKeysym(xapp->display(), (KeyCode)xev.xkey.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ylib.h:9, from ykey.h:4, from yfull.h:4, from wmapp.cc:8: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ wmapp.cc:1494:37: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 1494 | KeySym k2 = XKeycodeToKeysym(xapp->display(), (KeyCode)lastKeyEvent.xkey.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ CXX wmframe.o In file included from ywindow.h:4, from wmframe.h:4, from wmframe.cc:9: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmframe.h:5: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ In file included from prefs.h:5, from wmframe.cc:12: wmframe.cc: In member function 'void YFrameWindow::grabKeys()': bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:559:5: note: in expansion of macro 'GRAB_WMKEY' 559 | GRAB_WMKEY(gKeyWinRaise); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:560:5: note: in expansion of macro 'GRAB_WMKEY' 560 | GRAB_WMKEY(gKeyWinOccupyAll); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:561:5: note: in expansion of macro 'GRAB_WMKEY' 561 | GRAB_WMKEY(gKeyWinLower); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:562:5: note: in expansion of macro 'GRAB_WMKEY' 562 | GRAB_WMKEY(gKeyWinClose); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:563:5: note: in expansion of macro 'GRAB_WMKEY' 563 | GRAB_WMKEY(gKeyWinRestore); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:564:5: note: in expansion of macro 'GRAB_WMKEY' 564 | GRAB_WMKEY(gKeyWinNext); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:565:5: note: in expansion of macro 'GRAB_WMKEY' 565 | GRAB_WMKEY(gKeyWinPrev); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:566:5: note: in expansion of macro 'GRAB_WMKEY' 566 | GRAB_WMKEY(gKeyWinMove); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:567:5: note: in expansion of macro 'GRAB_WMKEY' 567 | GRAB_WMKEY(gKeyWinSize); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:568:5: note: in expansion of macro 'GRAB_WMKEY' 568 | GRAB_WMKEY(gKeyWinMinimize); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:569:5: note: in expansion of macro 'GRAB_WMKEY' 569 | GRAB_WMKEY(gKeyWinMaximize); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:570:5: note: in expansion of macro 'GRAB_WMKEY' 570 | GRAB_WMKEY(gKeyWinMaximizeVert); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:571:5: note: in expansion of macro 'GRAB_WMKEY' 571 | GRAB_WMKEY(gKeyWinMaximizeHoriz); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:572:5: note: in expansion of macro 'GRAB_WMKEY' 572 | GRAB_WMKEY(gKeyWinHide); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:573:5: note: in expansion of macro 'GRAB_WMKEY' 573 | GRAB_WMKEY(gKeyWinRollup); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:574:5: note: in expansion of macro 'GRAB_WMKEY' 574 | GRAB_WMKEY(gKeyWinFullscreen); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:575:5: note: in expansion of macro 'GRAB_WMKEY' 575 | GRAB_WMKEY(gKeyWinMenu); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:576:5: note: in expansion of macro 'GRAB_WMKEY' 576 | GRAB_WMKEY(gKeyWinArrangeN); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:577:5: note: in expansion of macro 'GRAB_WMKEY' 577 | GRAB_WMKEY(gKeyWinArrangeNE); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:578:5: note: in expansion of macro 'GRAB_WMKEY' 578 | GRAB_WMKEY(gKeyWinArrangeE); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:579:5: note: in expansion of macro 'GRAB_WMKEY' 579 | GRAB_WMKEY(gKeyWinArrangeSE); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:580:5: note: in expansion of macro 'GRAB_WMKEY' 580 | GRAB_WMKEY(gKeyWinArrangeS); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:581:5: note: in expansion of macro 'GRAB_WMKEY' 581 | GRAB_WMKEY(gKeyWinArrangeSW); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:582:5: note: in expansion of macro 'GRAB_WMKEY' 582 | GRAB_WMKEY(gKeyWinArrangeW); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:583:5: note: in expansion of macro 'GRAB_WMKEY' 583 | GRAB_WMKEY(gKeyWinArrangeNW); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:584:5: note: in expansion of macro 'GRAB_WMKEY' 584 | GRAB_WMKEY(gKeyWinArrangeC); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:585:5: note: in expansion of macro 'GRAB_WMKEY' 585 | GRAB_WMKEY(gKeyWinSnapMoveN); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:586:5: note: in expansion of macro 'GRAB_WMKEY' 586 | GRAB_WMKEY(gKeyWinSnapMoveNE); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:587:5: note: in expansion of macro 'GRAB_WMKEY' 587 | GRAB_WMKEY(gKeyWinSnapMoveE); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:588:5: note: in expansion of macro 'GRAB_WMKEY' 588 | GRAB_WMKEY(gKeyWinSnapMoveSE); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:589:5: note: in expansion of macro 'GRAB_WMKEY' 589 | GRAB_WMKEY(gKeyWinSnapMoveS); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:590:5: note: in expansion of macro 'GRAB_WMKEY' 590 | GRAB_WMKEY(gKeyWinSnapMoveSW); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:591:5: note: in expansion of macro 'GRAB_WMKEY' 591 | GRAB_WMKEY(gKeyWinSnapMoveW); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:592:5: note: in expansion of macro 'GRAB_WMKEY' 592 | GRAB_WMKEY(gKeyWinSnapMoveNW); | ^~~~~~~~~~ bindkey.h:114:35: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 114 | #define GRAB_WMKEYx(k) grabVKey(k.key, k.mod) bindkey.h:113:23: note: in expansion of macro 'GRAB_WMKEYx' 113 | #define GRAB_WMKEY(k) GRAB_WMKEYx(k); | ^~~~~~~~~~~ wmframe.cc:593:5: note: in expansion of macro 'GRAB_WMKEY' 593 | GRAB_WMKEY(gKeyWinSmartPlace); | ^~~~~~~~~~ wmframe.cc: In member function 'virtual void YFrameWindow::paint(Graphics&, const YRect&)': wmframe.cc:1963:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1963 | if (width() > (mxtl + mxtr)) | ^ wmframe.cc:1971:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1971 | if (height() > (mytl + mybl)) | ^ wmframe.cc:1979:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1979 | if (height() > (mytr + mybr)) | ^ wmframe.cc:1988:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1988 | if (width() > (mxbl + mxbr)) | ^ wmframe.cc: In function 'YIcon* newClientIcon(int, int, long int*)': wmframe.cc:2337:23: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 2337 | w = elem[2]; | ~~~~~~^ wmframe.cc:2338:23: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 2338 | h = elem[3]; | ~~~~~~^ wmframe.cc:2339:27: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] 2339 | depth = elem[4]; | ~~~~~~^ wmframe.cc: In member function 'void YFrameWindow::updateIcon()': wmframe.cc:2427:46: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 2427 | fFrameIcon = newClientIcon(elem[0], elem[1], elem + 2); | ~~~~~~^ wmframe.cc:2427:55: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 2427 | fFrameIcon = newClientIcon(elem[0], elem[1], elem + 2); | ~~~~~~^ wmframe.cc: In member function 'void YFrameWindow::updateMwmHints()': wmframe.cc:3254:24: warning: variable 'tt' set but not used [-Wunused-but-set-variable] 3254 | int ty = titleY(), tt; | ^~ CXX wmbutton.o In file included from ywindow.h:4, from ybutton.h:4, from yactionbutton.h:4, from wmbutton.h:4, from wmbutton.cc:10: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmbutton.h:5: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ CXX wmminiicon.o In file included from ywindow.h:4, from wmminiicon.h:4, from wmminiicon.cc:11: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmframe.h:5, from wmminiicon.cc:13: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ CXX wmtitle.o In file included from ywindow.h:4, from wmtitle.h:4, from wmtitle.cc:9: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmframe.h:5, from wmtitle.cc:11: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ CXX movesize.o In file included from ywindow.h:4, from wmframe.h:4, from movesize.cc:10: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmframe.h:5: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ movesize.cc: In member function 'int YFrameWindow::handleMoveKeys(const XKeyEvent&, int&, int&)': movesize.cc:206:32: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 206 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ylib.h:9, from ykey.h:4, from yfull.h:4, from movesize.cc:8: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ movesize.cc: In member function 'int YFrameWindow::handleResizeKeys(const XKeyEvent&, int&, int&, int&, int&, int, int)': movesize.cc:254:32: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 254 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ movesize.cc: In member function 'void YFrameWindow::outlineMove()': movesize.cc:420:14: warning: variable 'modifiers' set but not used [-Wunused-but-set-variable] 420 | unsigned modifiers(0); | ^~~~~~~~~ movesize.cc: In member function 'virtual bool YFrameWindow::handleKey(const XKeyEvent&)': movesize.cc:749:40: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 749 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ movesize.cc:687:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 687 | moveWindow(newX, newY); | ~~~~~~~~~~^~~~~~~~~~~~ movesize.cc:689:13: note: here 689 | case -1: | ^~~~ movesize.cc:741:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 741 | drawMoveSizeFX(x(), y(), width(), height()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ movesize.cc:744:13: note: here 744 | case -1: | ^~~~ CXX themes.o In file included from ywindow.h:4, from ypopup.h:4, from ymenu.h:4, from objmenu.h:4, from themes.h:6, from themes.cc:9: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ themes.cc: In member function 'void ThemesMenu::findThemes(const char*, YMenu*)': themes.cc:134:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 134 | int dplen(strlen(path)); | ~~~~~~^~~~~~ themes.cc: In static member function 'static void ThemesMenu::findThemeAlternatives(const char*, const char*, YMenuItem*)': themes.cc:228:60: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 228 | char *tname(newstr(de->d_name, ext - de->d_name)); | ~~~~^~~~~~~~~~~~ CXX decorate.o In file included from ywindow.h:4, from wmframe.h:4, from decorate.cc:8: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmframe.h:5: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ decorate.cc: In member function 'void YFrameWindow::setShape()': decorate.cc:144:31: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 144 | full.width = width(); | ~~~~~^~ decorate.cc:145:33: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 145 | full.height = height(); | ~~~~~~^~ decorate.cc:157:38: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 157 | rect[0].width = width(); | ~~~~~^~ decorate.cc:158:41: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 158 | rect[0].height = borderY(); | ~~~~~~~^~ decorate.cc:161:38: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 161 | rect[1].y = height() - borderY(); | ~~~~~~~~~^~~~~~~~~~~ decorate.cc:164:36: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 164 | rect[2].y = borderY(); | ~~~~~~~^~ decorate.cc:165:40: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 165 | rect[2].width = borderX(); | ~~~~~~~^~ decorate.cc:166:43: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 166 | rect[2].height = height() - 2 * borderY(); | ~~~~~~~~~^~~~~~~~~~~~~~~ decorate.cc:169:37: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 169 | rect[3].x = width() - borderX(); | ~~~~~~~~^~~~~~~~~~~ decorate.cc:175:40: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 175 | rect[nrect].x = borderX(); | ~~~~~~~^~ decorate.cc:179:40: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 179 | rect[nrect].y = borderY(); | ~~~~~~~^~ decorate.cc:181:46: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 181 | rect[nrect].width = width() - 2 * borderX(); | ~~~~~~~~^~~~~~~~~~~~~~~ decorate.cc:182:44: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 182 | rect[nrect].height = titleY(); | ~~~~~~^~ CXX browse.o In file included from obj.h:4, from browse.cc:11: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from objmenu.h:4, from browse.cc:12: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ browse.cc: In member function 'virtual void BrowseMenu::updatePopup()': browse.cc:43:26: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 43 | int plen = strlen(fPath); | ~~~~~~^~~~~~~ browse.cc:54:54: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 54 | nlen = plen + 1 + strlen(de->d_name) + 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ CXX wmprog.o In file included from ywindow.h:4, from ypopup.h:4, from ymenu.h:4, from objmenu.h:4, from wmprog.cc:13: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ wmprog.cc: In function 'void loadMenus(int, ObjectContainer*)': wmprog.cc:510:28: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 510 | int len2 = read(fd, buf + got, len - got); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ wmprog.cc: In member function 'virtual bool StartMenu::handleKey(const XKeyEvent&)': wmprog.cc:709:36: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 709 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ylib.h:9, from ykey.h:4, from wmprog.cc:12: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ CXX atasks.o In file included from ywindow.h:4, from atasks.h:4, from atasks.cc:7: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmclient.h:6, from atasks.h:5: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ CXX aworkspaces.o In file included from ywindow.h:4, from aworkspaces.h:4, from aworkspaces.cc:6: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from objbutton.h:5, from aworkspaces.h:6: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ CXX amailbox.o In file included from ywindow.h:4, from amailbox.h:6, from amailbox.cc:15: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmapp.h:5, from amailbox.cc:20: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ amailbox.cc: In member function 'void MailCheck::countMessages()': amailbox.cc:84:26: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 84 | int plen = strlen(pat); | ~~~~~~^~~~~ amailbox.cc:88:27: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 88 | while ((len = read(fd, buf, sizeof(buf))) > 0) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~ amailbox.cc: In member function 'virtual void MailCheck::socketDataRead(char*, int)': amailbox.cc:199:43: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 199 | sk.read(bf + got , sizeof(bf) - got); | ~~~~~~~~~~~^~~~~ amailbox.cc:216:34: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 216 | sk.write(user, strlen(user)); | ~~~~~~^~~~~~ amailbox.cc:222:34: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 222 | sk.write(pass, strlen(pass)); | ~~~~~~^~~~~~ amailbox.cc:228:34: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 228 | sk.write(stat, strlen(stat)); | ~~~~~~^~~~~~ amailbox.cc:238:34: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 238 | sk.write(quit, strlen(quit)); | ~~~~~~^~~~~~ amailbox.cc:264:35: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 264 | sk.write(login, strlen(login)); | ~~~~~~^~~~~~~ amailbox.cc:272:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 272 | sk.write(status, strlen(status)); | ~~~~~~^~~~~~~~ amailbox.cc:283:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 283 | sk.write(logout, strlen(logout)); | ~~~~~~^~~~~~~~ CXX aclock.o In file included from ywindow.h:4, from aclock.h:4, from aclock.cc:15: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmtaskbar.h:6, from aclock.cc:16: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ aclock.cc: In member function 'void YClock::autoSize()': aclock.cc:86:23: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 86 | len = strftime(s, sizeof(s), strTimeFmt(t), &t); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aclock.cc:99:23: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 99 | len = strftime(s, sizeof(s), strTimeFmt(t), &t); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aclock.cc:76:9: warning: variable 'maxDay' set but not used [-Wunused-but-set-variable] 76 | int maxDay = -1; | ^~~~~~ aclock.cc: In member function 'virtual void YClock::updateToolTip()': aclock.cc:137:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 137 | len = strftime(s, sizeof(s), fmtDate, t); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ aclock.cc:130:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] 130 | int len; | ^~~ aclock.cc: In member function 'virtual void YClock::paint(Graphics&, const YRect&)': aclock.cc:189:23: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 189 | len = strftime(s, sizeof(s), strTimeFmt(*t), t); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX acpustatus.o In file included from ypaths.h:12, from yapp.h:6, from yxapp.h:4, from ysmapp.h:4, from wmapp.h:4, from acpustatus.cc:22: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmapp.h:5: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ acpustatus.cc: In member function 'void CPUStatus::getStatus()': acpustatus.cc:436:29: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 436 | change = cp_time[i] - cp_old[i]; | ~~~~~~~~~~~^~~~~~~~~~~ acpustatus.cc:448:40: warning: conversion from 'long int' to 'double' may change value [-Wconversion] 448 | ((int)(((1000.0 * cp_pct[i]) / total_change) + 0.5)) : | ~~~~~~~~^ acpustatus.cc:452:57: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 452 | cpu[taskBarCPUSamples-1][IWM_USER] = cp_pct[CPU_USER]; | ~~~~~~~~~~~~~~~^ acpustatus.cc:453:57: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 453 | cpu[taskBarCPUSamples-1][IWM_NICE] = cp_pct[CPU_WAIT]; | ~~~~~~~~~~~~~~~^ acpustatus.cc:454:59: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 454 | cpu[taskBarCPUSamples-1][IWM_SYS] = cp_pct[CPU_KERNEL]; | ~~~~~~~~~~~~~~~~~^ acpustatus.cc:455:57: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 455 | cpu[taskBarCPUSamples-1][IWM_IDLE] = cp_pct[CPU_IDLE]; | ~~~~~~~~~~~~~~~^ CXX apppstatus.o In file included from ywindow.h:4, from ybutton.h:4, from wmtaskbar.h:5, from apppstatus.cc:21: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmtaskbar.h:6: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ CXX aaddressbar.o In file included from ywindow.h:4, from yinputline.h:4, from aaddressbar.h:6, from aaddressbar.cc:10: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmmgr.h:6, from aaddressbar.cc:14: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ aaddressbar.cc: In member function 'virtual bool AddressBar::handleKey(const XKeyEvent&)': aaddressbar.cc:27:36: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 27 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ylib.h:9, from ykey.h:4, from aaddressbar.cc:9: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ CXX objbar.o In file included from ywindow.h:4, from ypopup.h:4, from ymenu.h:4, from objmenu.h:4, from objbar.cc:9: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ CXX aapm.o CXX atray.o In file included from ywindow.h:4, from atray.h:13, from atray.cc:21: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmclient.h:6, from atray.h:14: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ atray.cc: In member function 'virtual void TrayApp::paint(Graphics&, const YRect&)': atray.cc:91:18: warning: variable 'fg' set but not used [-Wunused-but-set-variable] 91 | YColor *bg, *fg; | ^~ atray.cc:97:9: warning: variable 'p' set but not used [-Wunused-but-set-variable] 97 | int p(0); | ^ CXX ysmapp.o In file included from ypaths.h:12, from yapp.h:6, from yxapp.h:4, from ysmapp.h:4, from ysmapp.cc:5: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ ysmapp.cc: In function 'void setSMProperties()': ysmapp.cc:110:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 110 | programVal.length = strlen(sessionProg); | ~~~~~~^~~~~~~~~~~~~ ysmapp.cc:112:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 112 | userIDVal.length = strlen(user); | ~~~~~~^~~~~~ ysmapp.cc:115:34: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 115 | restartVal[0].length = strlen(sessionProg); | ~~~~~~^~~~~~~~~~~~~ ysmapp.cc:117:34: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 117 | restartVal[1].length = strlen(clientId); | ~~~~~~^~~~~~~~~~ ysmapp.cc:119:34: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 119 | restartVal[2].length = strlen(newSessionId); | ~~~~~~^~~~~~~~~~~~~~ ysmapp.cc:126:34: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 126 | discardVal[0].length = strlen(rmprog); | ~~~~~~^~~~~~~~ ysmapp.cc:128:34: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 128 | discardVal[1].length = strlen(rmarg); | ~~~~~~^~~~~~~ ysmapp.cc:130:34: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 130 | discardVal[2].length = strlen(sidfile); | ~~~~~~^~~~~~~~~ CXX yxtray.o In file included from ywindow.h:4, from yxembed.h:5, from yxtray.h:4, from yxtray.cc:3: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmtaskbar.h:6, from yxtray.cc:8: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ CXX ymenu.o In file included from ywindow.h:4, from ypopup.h:4, from ymenu.h:4, from ymenu.cc:10: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ ymenu.cc: In member function 'void YMenu::activateSubMenu(int, bool)': ymenu.cc:198:13: warning: variable 'repaint' set but not used [-Wunused-but-set-variable] 198 | int repaint = 0; | ^~~~~~~ ymenu.cc: In member function 'int YMenu::findHotItem(char)': ymenu.cc:278:45: warning: conversion from 'int' to 'char' may change value [-Wconversion] 278 | if (hot != -1 && ASCII::toUpper(hot) == k) | ^~~ ymenu.cc:299:45: warning: conversion from 'int' to 'char' may change value [-Wconversion] 299 | if (hot != -1 && ASCII::toUpper(hot) == k) { | ^~~ ymenu.cc: In member function 'virtual bool YMenu::handleKey(const XKeyEvent&)': ymenu.cc:311:32: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 311 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ylib.h:9, from ykey.h:4, from yfull.h:4, from ymenu.cc:8: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ ymenu.cc: In member function 'void YMenu::paintItem(Graphics&, int, int, int, int, int, int, bool)': ymenu.cc:1009:41: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 1009 | points[0].x = l + 3 + (16 - 10) / 2; | ~~~~~~^~~~~~~~~~~~~~~ ymenu.cc:1013:49: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 1013 | points[0].y = t + top + pad + ih / 2; | ~~~~~~~~~~~~~~^~~~~~~~ ymenu.cc:1052:53: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 1052 | g.drawChars(param, 0, strlen(param), | ~~~~~~^~~~~~~ ymenu.cc:1057:49: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 1057 | g.drawChars(param, 0, strlen(param), | ~~~~~~^~~~~~~ CXX ylabel.o In file included from ywindow.h:4, from ylabel.h:4, from ylabel.cc:10: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmclient.h:6, from ydialog.h:4, from ylabel.cc:11: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ ylabel.cc: In member function 'virtual void YLabel::paint(Graphics&, const YRect&)': ylabel.cc:65:33: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 65 | g.drawChars(s, 0, n - s, x, y); | ~~^~~ ylabel.cc: In member function 'void YLabel::autoSize()': ylabel.cc:91:44: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 91 | w1 = labelFont->textWidth(s, n - s); | ~~^~~ CXX yscrollview.o In file included from ywindow.h:4, from yscrollview.h:4, from yscrollview.cc:10: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ CXX ymenuitem.o In file included from ymenuitem.cc:8: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from ymenuitem.cc:10: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ ymenuitem.cc: In constructor 'YMenuItem::YMenuItem(const char*, int, const char*, YAction*, YMenu*)': ymenuitem.cc:32:36: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 32 | fHotCharPos = (hotChar - fName); | ~~~~~~~~~^~~~~~~~ CXX yscrollbar.o In file included from ywindow.h:4, from yscrollbar.h:4, from yscrollbar.cc:13: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ yscrollbar.cc: In member function 'virtual void YScrollBar::handleMotion(const XMotionEvent&)': yscrollbar.cc:662:13: warning: variable 'min' set but not used [-Wunused-but-set-variable] 662 | int min, max; | ^~~ yscrollbar.cc:662:18: warning: variable 'max' set but not used [-Wunused-but-set-variable] 662 | int min, max; | ^~~ yscrollbar.cc:679:13: warning: variable 'min' set but not used [-Wunused-but-set-variable] 679 | int min, max; | ^~~ yscrollbar.cc:679:18: warning: variable 'max' set but not used [-Wunused-but-set-variable] 679 | int min, max; | ^~~ yscrollbar.cc: In member function 'bool YScrollBar::handleScrollKeys(const XKeyEvent&)': yscrollbar.cc:695:36: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 695 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ylib.h:9, from ykey.h:4, from yscrollbar.cc:12: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ CXX ybutton.o In file included from ywindow.h:4, from ybutton.h:4, from ybutton.cc:9: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from ybutton.cc:11: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ ybutton.cc: In member function 'void YButton::paint(Graphics&, int, const YRect&)': ybutton.cc:95:41: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 95 | g.drawChars(fText, 0, strlen(fText), d + p + 1, yp + 1); | ~~~~~~^~~~~~~ ybutton.cc:97:41: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 97 | g.drawChars(fText, 0, strlen(fText), d + p, yp); | ~~~~~~^~~~~~~ ybutton.cc:99:41: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 99 | g.drawChars(fText, 0, strlen(fText), d + p, yp); | ~~~~~~^~~~~~~ ybutton.cc: In member function 'virtual void YButton::paintFocus(Graphics&, const YRect&)': ybutton.cc:149:15: warning: narrowing conversion of '(int)dp' from 'int' to 'short int' is ill-formed in C++11 [-Wnarrowing] 149 | { dp, dp, width() - ds, 1 }, | ^~ ybutton.cc:149:15: warning: conversion from 'int' to 'short int' may change value [-Wconversion] ybutton.cc:149:19: warning: narrowing conversion of '(int)dp' from 'int' to 'short int' is ill-formed in C++11 [-Wnarrowing] 149 | { dp, dp, width() - ds, 1 }, | ^~ ybutton.cc:149:19: warning: conversion from 'int' to 'short int' may change value [-Wconversion] ybutton.cc:149:31: warning: narrowing conversion of '(((YButton*)this)->YButton::<anonymous>.YWindow::width() - ((int)ds))' from 'int' to 'short unsigned int' is ill-formed in C++11 [-Wnarrowing] 149 | { dp, dp, width() - ds, 1 }, | ~~~~~~~~^~~~ ybutton.cc:149:31: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] ybutton.cc:150:15: warning: narrowing conversion of '(int)dp' from 'int' to 'short int' is ill-formed in C++11 [-Wnarrowing] 150 | { dp, dp + 1, 1, height() - ds - 2 }, | ^~ ybutton.cc:150:15: warning: conversion from 'int' to 'short int' may change value [-Wconversion] ybutton.cc:150:22: warning: narrowing conversion of '(((int)dp) + 1)' from 'int' to 'short int' is ill-formed in C++11 [-Wnarrowing] 150 | { dp, dp + 1, 1, height() - ds - 2 }, | ~~~^~~ ybutton.cc:150:22: warning: conversion from 'int' to 'short int' may change value [-Wconversion] ybutton.cc:150:44: warning: narrowing conversion of '((((YButton*)this)->YButton::<anonymous>.YWindow::height() - ((int)ds)) - 2)' from 'int' to 'short unsigned int' is ill-formed in C++11 [-Wnarrowing] 150 | { dp, dp + 1, 1, height() - ds - 2 }, | ~~~~~~~~~~~~~~^~~ ybutton.cc:150:44: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] ybutton.cc:151:33: warning: narrowing conversion of '(((((int)dp) + ((YButton*)this)->YButton::<anonymous>.YWindow::width()) - ((int)ds)) - 1)' from 'int' to 'short int' is ill-formed in C++11 [-Wnarrowing] 151 | { dp + width() - ds - 1, dp + 1, 1, height() - ds - 2 }, | ~~~~~~~~~~~~~~~~~~^~~ ybutton.cc:151:33: warning: conversion from 'int' to 'short int' may change value [-Wconversion] ybutton.cc:151:41: warning: narrowing conversion of '(((int)dp) + 1)' from 'int' to 'short int' is ill-formed in C++11 [-Wnarrowing] 151 | { dp + width() - ds - 1, dp + 1, 1, height() - ds - 2 }, | ~~~^~~ ybutton.cc:151:41: warning: conversion from 'int' to 'short int' may change value [-Wconversion] ybutton.cc:151:63: warning: narrowing conversion of '((((YButton*)this)->YButton::<anonymous>.YWindow::height() - ((int)ds)) - 2)' from 'int' to 'short unsigned int' is ill-formed in C++11 [-Wnarrowing] 151 | { dp + width() - ds - 1, dp + 1, 1, height() - ds - 2 }, | ~~~~~~~~~~~~~~^~~ ybutton.cc:151:63: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] ybutton.cc:152:15: warning: narrowing conversion of '(int)dp' from 'int' to 'short int' is ill-formed in C++11 [-Wnarrowing] 152 | { dp, dp + height() - ds - 1, width() - ds, 1 } | ^~ ybutton.cc:152:15: warning: conversion from 'int' to 'short int' may change value [-Wconversion] ybutton.cc:152:38: warning: narrowing conversion of '(((((int)dp) + ((YButton*)this)->YButton::<anonymous>.YWindow::height()) - ((int)ds)) - 1)' from 'int' to 'short int' is ill-formed in C++11 [-Wnarrowing] 152 | { dp, dp + height() - ds - 1, width() - ds, 1 } | ~~~~~~~~~~~~~~~~~~~^~~ ybutton.cc:152:38: warning: conversion from 'int' to 'short int' may change value [-Wconversion] ybutton.cc:152:51: warning: narrowing conversion of '(((YButton*)this)->YButton::<anonymous>.YWindow::width() - ((int)ds))' from 'int' to 'short unsigned int' is ill-formed in C++11 [-Wnarrowing] 152 | { dp, dp + height() - ds - 1, width() - ds, 1 } | ~~~~~~~~^~~~ ybutton.cc:152:51: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] ybutton.cc: In member function 'virtual bool YButton::handleKey(const XKeyEvent&)': ybutton.cc:200:32: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 200 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ylib.h:9, from ykey.h:4, from ybutton.cc:7: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ ybutton.cc:202:24: warning: conversion from 'KeySym' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 202 | int uk = (k < 256) ? ASCII::toUpper((char)k) : k; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ybutton.cc: In member function 'void YButton::setText(const char*, int)': ybutton.cc:341:40: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 341 | fHotCharPos = (hotChar - fText); | ~~~~~~~~~^~~~~~~~ CXX ylistbox.o In file included from ywindow.h:4, from ylistbox.h:4, from ylistbox.cc:14: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ ylistbox.cc: In member function 'virtual bool YListBox::handleKey(const XKeyEvent&)': ylistbox.cc:308:36: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 308 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/Imlib_types.h:1, from /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/Imlib.h:4, from ypixbuf.h:20, from ylistbox.cc:12: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ ylistbox.cc: In member function 'void YListBox::paintItem(Graphics&, int)': ylistbox.cc:615:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 615 | g.drawChars(title, 0, strlen(title), | ~~~~~~^~~~~~~ ylistbox.cc: In member function 'virtual bool YListBox::handleKey(const XKeyEvent&)': ylistbox.cc:395:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 395 | } | ^ ylistbox.cc:396:9: note: here 396 | default: | ^~~~~~~ CXX yinput.o In file included from ywindow.h:4, from yinputline.h:4, from yinput.cc:10: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from yinput.cc:11: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ yinput.cc: In member function 'void YInputLine::setText(const char*)': yinput.cc:87:24: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 87 | curPos = strlen(fText); | ~~~~~~^~~~~~~ yinput.cc: In member function 'virtual void YInputLine::paint(Graphics&, const YRect&)': yinput.cc:99:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 99 | int textLen = fText ? strlen(fText) : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~ yinput.cc: In member function 'virtual bool YInputLine::handleKey(const XKeyEvent&)': yinput.cc:164:36: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 164 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ylib.h:9, from ykey.h:4, from yinput.cc:9: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ yinput.cc:179:37: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 179 | k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 1); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ yinput.cc:186:29: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 186 | int textLen = fText ? strlen(fText) : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~ yinput.cc:313:55: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 313 | replaceSelection((char *)s, strlen(s)); | ~~~~~~^~~ yinput.cc: In member function 'virtual void YInputLine::handleClickDown(const XButtonEvent&, int)': yinput.cc:390:32: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 390 | curPos = strlen(fText); | ~~~~~~^~~~~~~ yinput.cc: In member function 'virtual void YInputLine::handleSelection(const XSelectionEvent&)': yinput.cc:429:40: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 429 | replaceSelection(data.ptr, nitems); | ^~~~~~ yinput.cc: In member function 'int YInputLine::offsetToPos(int)': yinput.cc:439:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 439 | int textLen = fText ? strlen(fText) : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~ yinput.cc: In member function 'bool YInputLine::move(int, bool)': yinput.cc:502:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 502 | int textLen = fText ? strlen(fText) : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~ yinput.cc: In member function 'void YInputLine::limit()': yinput.cc:520:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 520 | int textLen = fText ? strlen(fText) : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~ yinput.cc: In member function 'void YInputLine::replaceSelection(const char*, int)': yinput.cc:550:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 550 | int textLen = fText ? strlen(fText) : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~ yinput.cc: In member function 'bool YInputLine::deleteNextChar()': yinput.cc:588:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 588 | int textLen = fText ? strlen(fText) : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~ yinput.cc: In member function 'int YInputLine::nextWord(int, bool)': yinput.cc:615:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 615 | int textLen = fText ? strlen(fText) : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~ yinput.cc: In member function 'bool YInputLine::deleteToEnd()': yinput.cc:652:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 652 | int textLen = fText ? strlen(fText) : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~ yinput.cc: In member function 'void YInputLine::selectAll()': yinput.cc:672:24: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 672 | curPos = strlen(fText); | ~~~~~~^~~~~~~ CXX wmconfig.o In file included from ywindow.h:4, from wmmgr.h:5, from wmconfig.cc:18: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from wmmgr.h:6: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ wmconfig.cc: In function 'int setDefault(const char*, const char*)': wmconfig.cc:134:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 134 | int len = strlen(buf); | ~~~~~~^~~~~ wmconfig.cc:136:17: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 136 | nlen = write(fd, buf, len); | ~~~~~^~~~~~~~~~~~~~ CXX yicon.o In file included from yicon.cc:9: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from objmenu.h:4, from wmprog.h:6, from yicon.cc:15: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ yicon.cc: In function 'char* joinPath(const char*, const char*)': yicon.cc:54:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 54 | int len = dir ? strlen(dir) : 0; | ~~~~^~~~~~~~~~~~~~~~~ yicon.cc: In member function 'char* YIcon::findIcon(int)': yicon.cc:102:28: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] 102 | unsigned len(p - q); | ~~^~~ yicon.cc: In static member function 'static int YIcon::cacheFind(const char*)': yicon.cc:302:27: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 302 | r = iconCache.getCount(); | ~~~~~~~~~~~~~~~~~~^~ CXX ref.o CXX yapp.o In file included from ypaths.h:12, from yapp.h:6, from yapp.cc:7: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ CXX yxapp.o In file included from ypaths.h:12, from yapp.h:6, from yxapp.h:4, from yxapp.cc:3: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from objmenu.h:4, from wmprog.h:6, from yxapp.cc:7: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ yxapp.cc: In member function 'void YXApplication::initModifiers()': yxapp.cc:371:45: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 371 | KeySym kc = XKeycodeToKeysym(xapp->display(), *c, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/Imlib_types.h:1, from /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/Imlib.h:4, from ypixbuf.h:20, from ypaint.h:6: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ yxapp.cc:373:42: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 373 | kc = XKeycodeToKeysym(xapp->display(), *c, 1); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ CXX ytimer.o In file included from ypaths.h:12, from yapp.h:6, from ytimer.cc:8: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ CXX ywindow.o In file included from ywindow.h:4, from ywindow.cc:9: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ ywindow.cc: In function 'void update_ignore_enternotify_hack(const XEvent&)': ywindow.cc:117:42: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion] 117 | ignore_enternotify_hack = event.xany.serial; | ~~~~~~~~~~~^~~~~~ ywindow.cc: In member function 'void YWindow::create()': ywindow.cc:318:37: warning: enum constant in boolean context [-Wint-in-bool-context] 318 | !(flags & (wsManager || wsOverrideRedirect))) | ^~~~~~~~~~~~~~~~~~ ywindow.cc: In member function 'void YWindow::paintExpose(int, int, int, int)': ywindow.cc:683:11: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 683 | r.x = ex; | ^~ ywindow.cc:684:11: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 684 | r.y = ey; | ^~ ywindow.cc:685:15: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 685 | r.width = ew; | ^~ ywindow.cc:686:16: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 686 | r.height = eh; | ^~ ywindow.cc: In member function 'virtual bool YWindow::handleKey(const XKeyEvent&)': ywindow.cc:767:36: warning: 'KeySym XKeycodeToKeysym(Display*, unsigned int, int)' is deprecated [-Wdeprecated-declarations] 767 | KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ylib.h:9, from ykey.h:4, from yfull.h:4, from ywindow.cc:7: /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ ywindow.cc: In member function 'void YWindow::scrollWindow(int, int)': ywindow.cc:1825:28: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 1825 | r[nr].width = width(); | ~~~~~^~ ywindow.cc:1829:28: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 1829 | r[nr].height = dy; | ^~ ywindow.cc:1831:28: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 1831 | r[nr].height = - dy; | ^~~~ ywindow.cc:1832:32: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 1832 | r[nr].y = height() - r[nr].height; | ~~~~~~~~~^~~~~~~~~~~~~~ ywindow.cc:1838:30: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 1838 | r[nr].height = height(); // !!! optimize | ~~~~~~^~ ywindow.cc:1842:27: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 1842 | r[nr].width = dx; | ^~ ywindow.cc:1844:27: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 1844 | r[nr].width = - dx; | ^~~~ ywindow.cc:1845:31: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 1845 | r[nr].x = width() - r[nr].width; | ~~~~~~~~^~~~~~~~~~~~~ ywindow.cc:1859:25: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 1859 | re.width = width(); | ~~~~~^~ ywindow.cc:1860:27: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 1860 | re.height = height(); | ~~~~~~^~ ywindow.cc: In member function 'void YDesktop::updateXineramaInfo(int&, int&)': /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:101:60: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 101 | #define DisplayWidth(dpy, scr) (ScreenOfDisplay(dpy,scr)->width) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ywindow.cc:1900:27: note: in expansion of macro 'DisplayWidth' 1900 | xiInfo[0].width = DisplayWidth(xapp->display(), DefaultScreen(xapp->display())); | ^~~~~~~~~~~~ /home/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:102:60: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 102 | #define DisplayHeight(dpy, scr) (ScreenOfDisplay(dpy,scr)->height) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ywindow.cc:1901:28: note: in expansion of macro 'DisplayHeight' 1901 | xiInfo[0].height = DisplayHeight(xapp->display(), DefaultScreen(xapp->display())); | ^~~~~~~~~~~~~ CXX ypaint.o In file included from ypaint.cc:9: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ ypaint.cc: In member function 'void YColor::alloc()': ypaint.cc:118:27: warning: conversion from 'long unsigned int' to 'double' may change value [-Wconversion] 118 | u_red = 3UL * (d_red * d_red); | ~~~~^~~~~~~~~~~~~~~~~~~ ypaint.cc:119:27: warning: conversion from 'long unsigned int' to 'double' may change value [-Wconversion] 119 | u_green = 4UL * (d_green * d_green); | ~~~~^~~~~~~~~~~~~~~~~~~~~ ypaint.cc:120:27: warning: conversion from 'long unsigned int' to 'double' may change value [-Wconversion] 120 | u_blue = 2UL * (d_blue * d_blue); | ~~~~^~~~~~~~~~~~~~~~~~~~ ypaint.cc: In member function 'YColor* YColor::darker()': ypaint.cc:156:40: warning: conversion from 'unsigned int' to 'short unsigned int' may change value [-Wconversion] 156 | red = ((unsigned int)fRed) * 2 / 3; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ypaint.cc:157:42: warning: conversion from 'unsigned int' to 'short unsigned int' may change value [-Wconversion] 157 | blue = ((unsigned int)fBlue) * 2 / 3; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ypaint.cc:158:44: warning: conversion from 'unsigned int' to 'short unsigned int' may change value [-Wconversion] 158 | green = ((unsigned int)fGreen) * 2 / 3; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ypaint.cc: In member function 'YColor* YColor::brighter()': ypaint.cc:168:19: warning: conversion from 'unsigned int' to 'short unsigned int' may change value [-Wconversion] 168 | red = min (((unsigned) fRed) * 4 / 3, 0xFFFFU); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ypaint.cc:169:20: warning: conversion from 'unsigned int' to 'short unsigned int' may change value [-Wconversion] 169 | blue = min (((unsigned) fBlue) * 4 / 3, 0xFFFFU); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ypaint.cc:170:21: warning: conversion from 'unsigned int' to 'short unsigned int' may change value [-Wconversion] 170 | green = min (((unsigned) fGreen) * 4 / 3, 0xFFFFU); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ypaint.cc: In member function 'void Graphics::drawLines(XPoint*, int, int)': ypaint.cc:325:21: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 325 | points[i].x -= xOrigin; | ~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:326:21: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 326 | points[i].y -= yOrigin; | ~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:330:21: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 330 | points[i].x += xOrigin; | ~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:331:21: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 331 | points[i].y += yOrigin; | ~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc: In member function 'void Graphics::drawSegments(XSegment*, int)': ypaint.cc:337:24: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 337 | segments[i].x1 -= xOrigin; | ~~~~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:338:24: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 338 | segments[i].y1 -= yOrigin; | ~~~~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:339:24: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 339 | segments[i].x2 -= xOrigin; | ~~~~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:340:24: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 340 | segments[i].y2 -= yOrigin; | ~~~~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:344:24: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 344 | segments[i].x1 += xOrigin; | ~~~~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:345:24: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 345 | segments[i].y1 += yOrigin; | ~~~~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:346:24: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 346 | segments[i].x2 += xOrigin; | ~~~~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:347:24: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 347 | segments[i].y2 += yOrigin; | ~~~~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc: In member function 'void Graphics::drawRects(XRectangle*, int)': ypaint.cc:358:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 358 | rects[i].x -= xOrigin; | ~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:359:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 359 | rects[i].y -= yOrigin; | ~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:363:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 363 | rects[i].x += xOrigin; | ~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:364:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 364 | rects[i].y += yOrigin; | ~~~~~~~~~~~^~~~~~~~~~ ypaint.cc: In member function 'void Graphics::drawString(int, int, const char*)': ypaint.cc:381:29: warning: conversion from 'std::size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 381 | drawChars(str, 0, strlen(str), x, y); | ~~~~~~^~~~~ ypaint.cc: In member function 'void Graphics::drawStringEllipsis(int, int, const char*, int)': ypaint.cc:385:25: warning: conversion from 'std::size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 385 | int const len(strlen(str)); | ~~~~~~^~~~~ ypaint.cc: In member function 'void Graphics::drawCharUnderline(int, int, const char*, int)': ypaint.cc:455:21: warning: conversion from 'std::size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 455 | int len = strlen(str); | ~~~~~~^~~~~ ypaint.cc: In member function 'void Graphics::drawStringMultiline(int, int, const char*)': ypaint.cc:500:27: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 500 | int const len(end - str); | ~~~~^~~~~ ypaint.cc:504:35: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 504 | drawChars(str, 0, tab - str, x, y); | ~~~~^~~~~ ypaint.cc:505:45: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 505 | drawChars(tab + 1, 0, end - tab - 1, tx, y); | ~~~~~~~~~~^~~ ypaint.cc:508:35: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 508 | drawChars(str, 0, end - str, x, y); | ~~~~^~~~~ ypaint.cc:516:31: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 516 | drawChars(str, 0, tab - str, x, y); | ~~~~^~~~~ ypaint.cc:517:37: warning: conversion from 'std::size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 517 | drawChars(tab + 1, 0, strlen(tab + 1), tx, y); | ~~~~~~^~~~~~~~~ ypaint.cc:520:33: warning: conversion from 'std::size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 520 | drawChars(str, 0, strlen(str), x, y); | ~~~~~~^~~~~ ypaint.cc: In member function 'void Graphics::fillRects(XRectangle*, int)': ypaint.cc:569:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 569 | rects[i].x -= xOrigin; | ~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:570:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 570 | rects[i].y -= yOrigin; | ~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:574:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 574 | rects[i].x += xOrigin; | ~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:575:20: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 575 | rects[i].y += yOrigin; | ~~~~~~~~~~~^~~~~~~~~~ ypaint.cc: In member function 'void Graphics::fillPolygon(XPoint*, int, int, int)': ypaint.cc:585:21: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 585 | points[i].x -= xOrigin; | ~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:586:21: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 586 | points[i].y -= yOrigin; | ~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:590:21: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 590 | points[i].x += xOrigin; | ~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc:591:21: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 591 | points[i].y += yOrigin; | ~~~~~~~~~~~~^~~~~~~~~~ ypaint.cc: In member function 'void Graphics::drawArrow(YDirection, int, int, int, bool)': ypaint.cc:964:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 964 | short const am(size / 2); | ~~~~~^~~ ypaint.cc:966:40: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 965 | short const ah(wmLook == lookGtk || | ~~~~~~~~~~~~~~~~~~~~ 966 | wmLook == lookMotif ? size : size / 2); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ypaint.cc:968:40: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 967 | short const aw(wmLook == lookGtk || | ~~~~~~~~~~~~~~~~~~~~ 968 | wmLook == lookMotif ? size : size - (size & 1)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ypaint.cc:972:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 972 | points[0].x = x; | ^ ypaint.cc:973:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 973 | points[0].y = y + ah; | ~~^~~~ ypaint.cc:974:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 974 | points[1].x = x + am; | ~~^~~~ ypaint.cc:975:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 975 | points[1].y = y; | ^ ypaint.cc:976:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 976 | points[2].x = x + aw; | ~~^~~~ ypaint.cc:977:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 977 | points[2].y = y + ah; | ~~^~~~ ypaint.cc:981:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 981 | points[0].x = x; | ^ ypaint.cc:982:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 982 | points[0].y = y; | ^ ypaint.cc:983:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 983 | points[1].x = x + am; | ~~^~~~ ypaint.cc:984:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 984 | points[1].y = y + ah; | ~~^~~~ ypaint.cc:985:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 985 | points[2].x = x + aw; | ~~^~~~ ypaint.cc:986:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 986 | points[2].y = y; | ^ ypaint.cc:990:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 990 | points[0].x = x + ah; | ~~^~~~ ypaint.cc:991:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 991 | points[0].y = y; | ^ ypaint.cc:992:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 992 | points[1].x = x; | ^ ypaint.cc:993:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 993 | points[1].y = y + am; | ~~^~~~ ypaint.cc:994:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 994 | points[2].x = x + ah; | ~~^~~~ ypaint.cc:995:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 995 | points[2].y = y + aw; | ~~^~~~ ypaint.cc:999:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 999 | points[0].x = x; | ^ ypaint.cc:1000:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 1000 | points[0].y = y; | ^ ypaint.cc:1001:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 1001 | points[1].x = x + ah; | ~~^~~~ ypaint.cc:1002:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 1002 | points[1].y = y + am; | ~~^~~~ ypaint.cc:1003:23: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 1003 | points[2].x = x; | ^ ypaint.cc:1004:25: warning: conversion from 'int' to 'short int' may change value [-Wconversion] 1004 | points[2].y = y + aw; | ~~^~~~ CXX ypopup.o In file included from ywindow.h:4, from ypopup.h:4, from ymenu.h:4, from ypopup.cc:8: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ CXX misc.o misc.cc: In function 'char* strJoin(const char*, ...)': misc.cc:351:13: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 351 | len += strlen(s); | ~~~~^~~~~~~~~~~~ misc.cc:362:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 362 | len = strlen(s); | ~~~~~~^~~ misc.cc: In function 'char* newstr(const char*)': misc.cc:414:45: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 414 | return (str != NULL ? newstr(str, strlen(str)) : NULL); | ~~~~~~^~~~~ misc.cc: In function 'char* newstr(const char*, const char*)': misc.cc:418:46: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 418 | return (str != NULL ? newstr(str, strcspn(str, delim)) : NULL); | ~~~~~~~^~~~~~~~~~~~ CXX ycursor.o In file included from ypaths.h:12, from yapp.h:6, from yxapp.h:4, from ycursor.cc:13: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from objmenu.h:4, from wmprog.h:6, from ycursor.cc:14: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ ycursor.cc: In constructor 'YCursorPixmap::YCursorPixmap(const char*)': ycursor.cc:174:39: warning: comparison of constant ''/'' with boolean expression is always false [-Wbool-compare] 174 | if ((c == fgetc(xpm)) == '/') // ------ eat C++ line comment --- | ~~~~~~~~~~~~~~~~~~^~~~~~ CXX ysocket.o In file included from ypaths.h:12, from yapp.h:6, from ysocket.cc:9: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ ysocket.cc: In member function 'int YSocket::write(const char*, int)': ysocket.cc:120:17: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 120 | rc = ::write(fd, (const void *)buf, len); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ysocket.cc: In member function 'virtual void YSocket::notifyRead()': ysocket.cc:136:20: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 136 | rc = ::read(fd, rdbuf, rdbuflen); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ CXX ypaths.o In file included from ypaths.h:12, from ypaths.cc:18: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ CXX ypixbuf.o In file included from ypaths.h:12, from yapp.h:6, from yxapp.h:4, from ypixbuf.cc:36: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ ypixbuf.cc: In static member function 'static bool YPixbuf::init()': ypixbuf.cc:71:42: warning: conversion from 'VisualID' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 71 | parms.visualid = xapp->visual()->visualid; | ~~~~~~~~~~~~~~~~^~~~~~~~ ypixbuf.cc: In member function 'void YPixbuf::copyArea(const YPixbuf&, int, int, int, int, int, int)': ypixbuf.cc:738:46: warning: conversion from 'unsigned int' to 'YPixbuf::Pixel' {aka 'unsigned char'} may change value [-Wconversion] 738 | d[0] = (p * s[0] + q * d[0]) / 255; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ypixbuf.cc:739:46: warning: conversion from 'unsigned int' to 'YPixbuf::Pixel' {aka 'unsigned char'} may change value [-Wconversion] 739 | d[1] = (p * s[1] + q * d[1]) / 255; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ypixbuf.cc:740:46: warning: conversion from 'unsigned int' to 'YPixbuf::Pixel' {aka 'unsigned char'} may change value [-Wconversion] 740 | d[2] = (p * s[2] + q * d[2]) / 255; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ ypixbuf.cc:760:44: warning: conversion from 'unsigned int' to 'YPixbuf::Pixel' {aka 'unsigned char'} may change value [-Wconversion] 760 | *d = (p * *s + q * *d) / 255; | ~~~~~~~~~~~~~~~~~~^~~~~ ypixbuf.cc: In instantiation of 'YPixbuf::Pixel* copyImageToPixbuf(XImage&, unsigned int) [with int Channels = 3; YPixbuf::Pixel = unsigned char; XImage = _XImage]': ypixbuf.cc:1128:44: required from here ypixbuf.cc:522:24: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion] 522 | image.red_mask, image.green_mask, image.blue_mask); | ~~~~~~^~~~~~~~ ypixbuf.cc:522:40: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion] 522 | image.red_mask, image.green_mask, image.blue_mask); | ~~~~~~^~~~~~~~~~ ypixbuf.cc:522:58: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion] 522 | image.red_mask, image.green_mask, image.blue_mask); | ~~~~~~^~~~~~~~~ ypixbuf.cc:542:24: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion] 542 | image.red_mask, image.green_mask, image.blue_mask); | ~~~~~~^~~~~~~~ ypixbuf.cc:542:40: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion] 542 | image.red_mask, image.green_mask, image.blue_mask); | ~~~~~~^~~~~~~~~~ ypixbuf.cc:542:58: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion] 542 | image.red_mask, image.green_mask, image.blue_mask); | ~~~~~~^~~~~~~~~ ypixbuf.cc: In instantiation of 'YRowInterpolator<Pixel, Channels, RowScaler>::YRowInterpolator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1; RowScaler = YColumnInterpolator<unsigned char, 1>]': ypixbuf.cc:332:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1]' ypixbuf.cc:1082:59: required from here ypixbuf.cc:305:52: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 305 | dst[c] = (a[c] * q + b[c] * p) >> fPrec; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ypixbuf.cc: In instantiation of 'YRowInterpolator<Pixel, Channels, RowScaler>::YRowInterpolator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1; RowScaler = YColumnAccumulator<unsigned char, 1>]': ypixbuf.cc:336:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1]' ypixbuf.cc:1082:59: required from here ypixbuf.cc:305:52: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] ypixbuf.cc: In instantiation of 'YRowInterpolator<Pixel, Channels, RowScaler>::YRowInterpolator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1; RowScaler = YColumnCopier<unsigned char, 1>]': ypixbuf.cc:340:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1]' ypixbuf.cc:1082:59: required from here ypixbuf.cc:305:52: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] ypixbuf.cc: In instantiation of 'YRowAccumulator<Pixel, Channels, RowScaler>::YRowAccumulator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1; RowScaler = YColumnInterpolator<unsigned char, 1>]': ypixbuf.cc:345:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1]' ypixbuf.cc:1082:59: required from here ypixbuf.cc:206:53: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 206 | dst[c] = (accC[c] + p * row[c]) / accL; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ypixbuf.cc: In instantiation of 'YRowAccumulator<Pixel, Channels, RowScaler>::YRowAccumulator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1; RowScaler = YColumnAccumulator<unsigned char, 1>]': ypixbuf.cc:349:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1]' ypixbuf.cc:1082:59: required from here ypixbuf.cc:206:53: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] ypixbuf.cc: In instantiation of 'YRowAccumulator<Pixel, Channels, RowScaler>::YRowAccumulator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1; RowScaler = YColumnCopier<unsigned char, 1>]': ypixbuf.cc:353:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1]' ypixbuf.cc:1082:59: required from here ypixbuf.cc:206:53: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] ypixbuf.cc: In instantiation of 'YRowInterpolator<Pixel, Channels, RowScaler>::YRowInterpolator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3; RowScaler = YColumnInterpolator<unsigned char, 3>]': ypixbuf.cc:332:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3]' ypixbuf.cc:1090:59: required from here ypixbuf.cc:305:52: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 305 | dst[c] = (a[c] * q + b[c] * p) >> fPrec; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ypixbuf.cc: In instantiation of 'YRowInterpolator<Pixel, Channels, RowScaler>::YRowInterpolator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3; RowScaler = YColumnAccumulator<unsigned char, 3>]': ypixbuf.cc:336:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3]' ypixbuf.cc:1090:59: required from here ypixbuf.cc:305:52: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] ypixbuf.cc: In instantiation of 'YRowInterpolator<Pixel, Channels, RowScaler>::YRowInterpolator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3; RowScaler = YColumnCopier<unsigned char, 3>]': ypixbuf.cc:340:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3]' ypixbuf.cc:1090:59: required from here ypixbuf.cc:305:52: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] ypixbuf.cc: In instantiation of 'YRowAccumulator<Pixel, Channels, RowScaler>::YRowAccumulator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3; RowScaler = YColumnInterpolator<unsigned char, 3>]': ypixbuf.cc:345:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3]' ypixbuf.cc:1090:59: required from here ypixbuf.cc:206:53: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 206 | dst[c] = (accC[c] + p * row[c]) / accL; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ypixbuf.cc: In instantiation of 'YRowAccumulator<Pixel, Channels, RowScaler>::YRowAccumulator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3; RowScaler = YColumnAccumulator<unsigned char, 3>]': ypixbuf.cc:349:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3]' ypixbuf.cc:1090:59: required from here ypixbuf.cc:206:53: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] ypixbuf.cc: In instantiation of 'YRowAccumulator<Pixel, Channels, RowScaler>::YRowAccumulator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3; RowScaler = YColumnCopier<unsigned char, 3>]': ypixbuf.cc:353:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3]' ypixbuf.cc:1090:59: required from here ypixbuf.cc:206:53: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] ypixbuf.cc: In instantiation of 'void copyRGBAnyToPixbuf(XImage*, const char*, unsigned int, unsigned char*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned int; int Channels = 3; XImage = _XImage]': ypixbuf.cc:520:17: required from 'YPixbuf::Pixel* copyImageToPixbuf(XImage&, unsigned int) [with int Channels = 3; YPixbuf::Pixel = unsigned char; XImage = _XImage]' ypixbuf.cc:1128:44: required from here ypixbuf.cc:471:48: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 471 | d[0] = ((pixel & rMask) >> rShift) << rLoss; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ypixbuf.cc:472:48: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 472 | d[1] = ((pixel & gMask) >> gShift) << gLoss; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ypixbuf.cc:473:48: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 473 | d[2] = ((pixel & bMask) >> bShift) << bLoss; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ypixbuf.cc: In instantiation of 'void copyRGBAnyToPixbuf(XImage*, const char*, unsigned int, unsigned char*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) [with Pixel = short unsigned int; int Channels = 3; XImage = _XImage]': ypixbuf.cc:540:17: required from 'YPixbuf::Pixel* copyImageToPixbuf(XImage&, unsigned int) [with int Channels = 3; YPixbuf::Pixel = unsigned char; XImage = _XImage]' ypixbuf.cc:1128:44: required from here ypixbuf.cc:471:48: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 471 | d[0] = ((pixel & rMask) >> rShift) << rLoss; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ypixbuf.cc:472:48: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 472 | d[1] = ((pixel & gMask) >> gShift) << gLoss; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ypixbuf.cc:473:48: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 473 | d[2] = ((pixel & bMask) >> bShift) << bLoss; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ypixbuf.cc: In instantiation of 'YColumnInterpolator<Pixel, Channels>::YColumnInterpolator(const Pixel*, unsigned int, Pixel*, unsigned int) [with Pixel = unsigned char; int Channels = 1]': ypixbuf.cc:293:9: required from 'YRowInterpolator<Pixel, Channels, RowScaler>::YRowInterpolator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1; RowScaler = YColumnInterpolator<unsigned char, 1>]' ypixbuf.cc:332:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1]' ypixbuf.cc:1082:59: required from here ypixbuf.cc:261:54: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 261 | *dst = (src[0] * q + src[1] * p) >> fPrec; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ypixbuf.cc: In instantiation of 'YColumnAccumulator<Pixel, Channels>::YColumnAccumulator(const Pixel*, unsigned int, Pixel*, unsigned int) [with Pixel = unsigned char; int Channels = 1]': ypixbuf.cc:293:9: required from 'YRowInterpolator<Pixel, Channels, RowScaler>::YRowInterpolator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1; RowScaler = YColumnAccumulator<unsigned char, 1>]' ypixbuf.cc:336:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 1]' ypixbuf.cc:1082:59: required from here ypixbuf.cc:125:33: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 125 | *dst = accA / accL; | ~~~~~^~~~~~ ypixbuf.cc: In instantiation of 'YColumnInterpolator<Pixel, Channels>::YColumnInterpolator(const Pixel*, unsigned int, Pixel*, unsigned int) [with Pixel = unsigned char; int Channels = 3]': ypixbuf.cc:293:9: required from 'YRowInterpolator<Pixel, Channels, RowScaler>::YRowInterpolator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3; RowScaler = YColumnInterpolator<unsigned char, 3>]' ypixbuf.cc:332:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3]' ypixbuf.cc:1090:59: required from here ypixbuf.cc:263:60: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 263 | dst[R] = (src[R] * q + src[3 + R] * p) >> fPrec; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ypixbuf.cc:264:60: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 264 | dst[G] = (src[G] * q + src[3 + G] * p) >> fPrec; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ypixbuf.cc:265:60: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 265 | dst[B] = (src[B] * q + src[3 + B] * p) >> fPrec; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ypixbuf.cc: In instantiation of 'YColumnAccumulator<Pixel, Channels>::YColumnAccumulator(const Pixel*, unsigned int, Pixel*, unsigned int) [with Pixel = unsigned char; int Channels = 3]': ypixbuf.cc:293:9: required from 'YRowInterpolator<Pixel, Channels, RowScaler>::YRowInterpolator(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3; RowScaler = YColumnAccumulator<unsigned char, 3>]' ypixbuf.cc:336:13: required from 'YScaler<Pixel, Channels>::YScaler(const Pixel*, unsigned int, unsigned int, unsigned int, Pixel*, unsigned int, unsigned int, unsigned int) [with Pixel = unsigned char; int Channels = 3]' ypixbuf.cc:1090:59: required from here ypixbuf.cc:134:35: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 134 | dst[R] = accR / accL; | ~~~~~^~~~~~ ypixbuf.cc:135:35: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 135 | dst[G] = accG / accL; | ~~~~~^~~~~~ ypixbuf.cc:136:35: warning: conversion from 'long unsigned int' to 'unsigned char' may change value [-Wconversion] 136 | dst[B] = accB / accL; | ~~~~~^~~~~~ CXX ylocale.o ylocale.cc: In static member function 'static int YLocale::getRating(const char*)': ylocale.cc:192:15: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 192 | return s2 - localeStr; | ~~~^~~~~~~~~~~ CXX yarray.o CXX ypipereader.o In file included from ypaths.h:12, from yapp.h:6, from ypipereader.cc:3: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ ypipereader.cc: In member function 'virtual void YPipeReader::notifyRead()': ypipereader.cc:73:20: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 73 | rc = ::read(fd, rdbuf, rdbuflen); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ CXX yxembed.o In file included from ywindow.h:4, from yxembed.h:5, from yxembed.cc:3: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ CXX yconfig.o In file included from yconfig.cc:5: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ yconfig.cc: In function 'char* findPath(const char*, int, const char*, bool)': yconfig.cc:31:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 31 | unsigned const nameLen(strlen(name)); | ~~~~~~^~~~~~ yconfig.cc:40:28: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] 40 | unsigned len(p - q); | ~~^~~ yconfig.cc: In function 'void loadConfig(cfoption*, const char*)': yconfig.cc:378:18: warning: conversion from 'off_t' {aka 'long int'} to 'int' may change value [-Wconversion] 378 | int len = sb.st_size; | ~~~^~~~~~~ yconfig.cc:384:20: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 384 | if ((len = read(fd, buf, len)) < 0) { | ~~~~^~~~~~~~~~~~~~ yconfig.cc: In function 'char* parseOption(cfoption*, char*)': yconfig.cc:314:12: warning: 'char* std::strncpy(char*, const char*, size_t)' destination unchanged after copying no bytes [-Wstringop-truncation] 314 | strncpy(name, str, len); | ~~~~~~~^~~~~~~~~~~~~~~~ CXX yprefs.o CXX yfont.o In file included from yfont.cc:3: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ yfont.cc: In member function 'int YFont::textWidth(const char*) const': yfont.cc:57:33: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 57 | return textWidth(str, strlen(str)); | ~~~~~~^~~~~ yfont.cc: In member function 'int YFont::multilineTabPos(const char*) const': yfont.cc:66:27: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 66 | int const len(end - str); | ~~~~^~~~~ yfont.cc:69:58: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 69 | if (tab) tabPos = max(tabPos, textWidth(str, tab - str)); | ~~~~^~~~~ yfont.cc:73:54: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 73 | if (tab) tabPos = max(tabPos, textWidth(str, tab - str)); | ~~~~^~~~~ yfont.cc: In member function 'YDimension YFont::multilineAlloc(const char*) const': yfont.cc:85:27: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 85 | int const len(end - str); | ~~~~^~~~~ yfont.cc:88:67: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 88 | alloc.w = max(tab ? tabPos + textWidth(tab + 1, end - tab - 1) | ~~~~~~~~~~^~~ CXX yfontcore.o In file included from yfontcore.cc:5: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ CXX yfontxft.o In file included from yfontxft.cc:6: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ yfontxft.cc: In static member function 'static void XftGraphics::drawString(Graphics&, XftFont*, int, int, char_t*, size_t)': yfontxft.cc:74:28: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 74 | str, len); | ^~~ yfontxft.cc: In static member function 'static void XftGraphics::textExtents(XftFont*, char_t*, size_t, XGlyphInfo&)': yfontxft.cc:79:53: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 79 | XftTextExtents(xapp->display (), font, str, len, &extends); | ^~~ CXX yimage.o In file included from yimage.cc:9: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from objmenu.h:4, from wmprog.h:6, from yimage.cc:14: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ CXX ytooltip.o In file included from ywindow.h:4, from ytooltip.h:5, from ytooltip.cc:7: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ LD icewm CXX icesm.o In file included from ypaths.h:12, from yapp.h:6, from yxapp.h:4, from icesm.cc:3: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ LD icewm-session CXX icesh.o icesh.cc: In member function 'unsigned int WorkspaceInfo::count()': icesh.cc:388:31: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] 388 | return (Success == fCount ? fCount.data<long>(0) : 0); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ icesh.cc: In member function 'int WorkspaceInfo::parseWorkspaceName(const char*)': icesh.cc:396:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 396 | WinWorkspaceInvalid == workspace; ++n) icesh.cc:399:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 399 | if (WinWorkspaceInvalid == workspace) { icesh.cc:401:31: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] 401 | workspace = strtol(name, &endptr, 0); | ~~~~~~^~~~~~~~~~~~~~~~~~ icesh.cc: In function 'int main(int, char**)': icesh.cc:836:53: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] 836 | unsigned mask(states.parseExpression(*argp++)); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ icesh.cc:837:50: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] 837 | unsigned state(states.parseExpression(*argp++)); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ icesh.cc:846:54: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] 846 | unsigned state(states.parseExpression(*argp++)); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ icesh.cc:854:52: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] 854 | unsigned hint(hints.parseExpression(*argp++)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ icesh.cc:864:37: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 864 | if (WinWorkspaceInvalid == workspace) THROW(1); icesh.cc:875:54: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] 875 | unsigned layer(layers.parseExpression(*argp++)); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ icesh.cc:883:61: warning: conversion from 'long int' to 'unsigned int' may change value [-Wconversion] 883 | unsigned trayopt(trayOptions.parseExpression(*argp++)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ LD icesh CXX icewmhint.o icewmhint.cc: In function 'int main(int, char**)': icewmhint.cc:57:35: warning: conversion from 'std::size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 57 | int clsin_len = strlen(clsin) + 1;; | ~~~~~~~~~~~~~~^~~ icewmhint.cc:58:37: warning: conversion from 'std::size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 58 | int option_len = strlen(option) + 1; | ~~~~~~~~~~~~~~~^~~ icewmhint.cc:59:31: warning: conversion from 'std::size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 59 | int arg_len = strlen(arg) + 1; | ~~~~~~~~~~~~^~~ LD icewmhint CXX icewmbg.o In file included from ypaths.h:12, from yapp.h:6, from yxapp.h:4, from icewmbg.cc:4: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ LD icewmbg CXX icetray.o In file included from ypaths.h:12, from yapp.h:6, from yxapp.h:4, from icetray.cc:4: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ LD icewmtray CXX icehelp.o In file included from ywindow.h:4, from ylistbox.h:4, from icehelp.cc:9: ypaint.h: In member function 'int Graphics::drawable() const': ypaint.h:293:35: warning: conversion from 'Drawable' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 293 | int drawable() const { return fDrawable; } | ^~~~~~~~~ In file included from icehelp.cc:11: ymenu.h: In member function 'int YMenu::itemCount() const': ymenu.h:48:51: warning: conversion from 'YBaseArray::SizeType' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 48 | int itemCount() const { return fItems.getCount(); } | ~~~~~~~~~~~~~~~^~ icehelp.cc: In member function 'void HTextView::layout(node*, node*, int, int, int&, int&, int&, int&, int, int&)': icehelp.cc:867:51: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 867 | wc = font->textWidth(b, c - b); | ~~^~~ icehelp.cc:887:59: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 887 | int w1 = font->textWidth(b, d - b); | ~~^~~ icehelp.cc:923:53: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 923 | *pwrap = new text_node(b, c - b, x, y, wc, font->height()); | ~~^~~ icehelp.cc: In member function 'void HTextView::draw(Graphics&, node*, bool)': icehelp.cc:1166:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 1166 | g.fillArc(n->xr - tx, n->yr + (font->height() - 7) / 2 - ty, 7, 7, 0, 360 * 64); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ icehelp.cc:1168:9: note: here 1168 | default: | ^~~~~~~ LD icehelp HOSTCXX genpref.o HOSTLD genpref GENPREF ../lib/preferences gmake[1]: Leaving directory '/home/pbulk/build/wm/icewm-imlib/work/icewm-1.2.38pre2/src' gmake[1]: Entering directory '/home/pbulk/build/wm/icewm-imlib/work/icewm-1.2.38pre2/po' /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o be.mo be.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o bg.mo bg.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o ca.mo ca.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o cs.mo cs.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o da.mo da.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o de.mo de.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o el.mo el.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o en.mo en.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o es.mo es.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o fi.mo fi.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o fr.mo fr.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o hr.mo hr.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o hu.mo hu.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o id.mo id.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o it.mo it.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o ja.mo ja.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o ko.mo ko.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o lt.mo lt.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o lv.mo lv.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o mk.mo mk.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o nb.mo nb.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o nl.mo nl.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o pl.mo pl.po /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o pt_BR.mo pt_BR.po pt_BR.po: warning: Charset "CHARSET" is not a portable encoding name. Message conversion to user's charset might not work. /home/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt: present charset "CHARSET" is not a portable encoding name gmake[1]: *** [Makefile:64: pt_BR.mo] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/wm/icewm-imlib/work/icewm-1.2.38pre2/po' gmake: *** [Makefile:58: nls] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/wm/icewm-imlib *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/wm/icewm-imlib