=> 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 '/Users/pbulk/build/wm/icewm-imlib/work/icewm-1.2.38pre2/src' CXX ymsgbox.o In file included from ymsgbox.cc:13: In file included from ./ymsgbox.h:4: In file included from ./ydialog.h:4: In file included from ./wmclient.h:5: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ymsgbox.cc:13: In file included from ./ymsgbox.h:4: In file included from ./ydialog.h:4: In file included from ./wmclient.h:5: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ymsgbox.cc:13: In file included from ./ymsgbox.h:4: In file included from ./ydialog.h:4: In file included from ./wmclient.h:5: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ymsgbox.cc:13: In file included from ./ymsgbox.h:4: In file included from ./ydialog.h:4: In file included from ./wmclient.h:5: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX ydialog.o In file included from ydialog.cc:13: In file included from ./ydialog.h:4: In file included from ./wmclient.h:5: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ydialog.cc:13: In file included from ./ydialog.h:4: In file included from ./wmclient.h:5: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ydialog.cc:13: In file included from ./ydialog.h:4: In file included from ./wmclient.h:5: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ydialog.cc:13: In file included from ./ydialog.h:4: In file included from ./wmclient.h:5: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ydialog.cc:37:17: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] fGradient = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ydialog.cc:46:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (dialogbackPixbuf != null ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ydialog.cc:47:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] && !(fGradient != null && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ydialog.cc:55:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fGradient != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ydialog.cc:59:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (dialogbackPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ydialog.cc:67:20: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 10 warnings generated. CXX yurl.o CXX wmsession.o In file included from wmsession.cc:14: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmsession.cc:14: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmsession.cc:14: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmsession.cc:14: In file included from ./wmframe.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX wmwinlist.o In file included from wmwinlist.cc:10: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmwinlist.cc:10: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmwinlist.cc:10: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmwinlist.cc:11: In file included from ./wmwinlist.h:6: In file included from ./wmclient.h:5: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmwinlist.cc:150:20: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. CXX wmtaskbar.o In file included from wmtaskbar.cc:14: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmtaskbar.cc:14: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmtaskbar.cc:14: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmtaskbar.cc:15: In file included from ./wmtaskbar.h:5: In file included from ./ybutton.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:90:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (startImage == null || !startImage->valid()) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:92:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (startImage == null || !startImage->valid()) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:94:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (startImage == null || !startImage->valid()) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:96:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (startImage == null || !startImage->valid()) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:105:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskbackPixbuf == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:107:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskbuttonPixbuf == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:109:35: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskbuttonactivePixbuf == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:111:38: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskbuttonminimizedPixbuf == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:345:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] taskbackPixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:346:24: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] taskbuttonPixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:347:30: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] taskbuttonactivePixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:348:33: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] taskbuttonminimizedPixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:356:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] startImage = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:357:20: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] windowsImage = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:358:24: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] showDesktopImage = null;; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:360:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] mailPixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:361:20: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] noMailPixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:362:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] errMailPixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:363:24: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] unreadMailPixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:364:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] newMailPixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:367:16: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] PixSpace = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:368:16: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] PixSlash = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:369:14: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] PixDot = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:370:12: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] PixA = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:371:12: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] PixP = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:372:12: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] PixM = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:373:16: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] PixColon = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:375:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] PixNum[n] = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:911:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskbackPixbuf != null && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:912:24: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] !(fGradient != null && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:924:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fGradient != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtaskbar.cc:928:31: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskbackPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 36 warnings generated. CXX wmwinmenu.o In file included from wmwinmenu.cc:12: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmwinmenu.cc:12: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmwinmenu.cc:12: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmwinmenu.cc:12: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX wmdialog.o In file included from wmdialog.cc:11: In file included from ./wmdialog.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmdialog.cc:11: In file included from ./wmdialog.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmdialog.cc:11: In file included from ./wmdialog.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmdialog.cc:11: In file included from ./wmdialog.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmdialog.cc:209:16: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. CXX wmabout.o In file included from wmabout.cc:12: In file included from ./wmabout.h:4: In file included from ./ydialog.h:4: In file included from ./wmclient.h:5: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmabout.cc:12: In file included from ./wmabout.h:4: In file included from ./ydialog.h:4: In file included from ./wmclient.h:5: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmabout.cc:12: In file included from ./wmabout.h:4: In file included from ./ydialog.h:4: In file included from ./wmclient.h:5: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmabout.cc:12: In file included from ./wmabout.h:4: In file included from ./ydialog.h:4: In file included from ./wmclient.h:5: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX wmswitch.o In file included from wmswitch.cc:12: In file included from ./wmswitch.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmswitch.cc:12: In file included from ./wmswitch.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmswitch.cc:12: In file included from ./wmswitch.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmswitch.cc:12: In file included from ./wmswitch.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmswitch.cc:41:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (switchFont == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmswitch.cc:73:17: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] fGradient = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmswitch.cc:164:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (switchbackPixbuf != null && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmswitch.cc:165:24: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] !(fGradient != null && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmswitch.cc:177:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fGradient != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmswitch.cc:181:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (switchbackPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmswitch.cc:201:80: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (quickSwitchHugeIcon && fActiveWindow->clientIcon()->huge() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmswitch.cc:205:25: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (icon != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmswitch.cc:305:65: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] frame->clientIcon()->huge() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmswitch.cc:309:41: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (icon != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmswitch.cc:315:41: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (icon != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmswitch.cc:366:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (icon != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmswitch.cc:687:16: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ wmswitch.cc:721:16: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), c, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 18 warnings generated. CXX wmstatus.o In file included from wmstatus.cc:12: In file included from ./wmstatus.h:6: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmstatus.cc:12: In file included from ./wmstatus.h:6: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmstatus.cc:12: In file included from ./wmstatus.h:6: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmstatus.cc:12: In file included from ./wmstatus.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmstatus.cc:44:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (statusFont == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmstatus.cc:64:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (switchbackPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 6 warnings generated. CXX wmoption.o In file included from wmoption.cc:11: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmoption.cc:11: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmoption.cc:11: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmoption.cc:11: In file included from ./wmframe.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX wmaction.o CXX wmcontainer.o In file included from wmcontainer.cc:9: In file included from ./wmcontainer.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmcontainer.cc:9: In file included from ./wmcontainer.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmcontainer.cc:9: In file included from ./wmcontainer.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmcontainer.cc:9: In file included from ./wmcontainer.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX wmclient.o In file included from wmclient.cc:8: In file included from ./wmclient.h:5: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmclient.cc:8: In file included from ./wmclient.h:5: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmclient.cc:8: In file included from ./wmclient.h:5: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmclient.cc:8: In file included from ./wmclient.h:5: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX wmmgr.o In file included from wmmgr.cc:8: In file included from ./wmmgr.h:5: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmmgr.cc:8: In file included from ./wmmgr.h:5: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmmgr.cc:8: In file included from ./wmmgr.h:5: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmmgr.cc:8: In file included from ./wmmgr.h:5: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmmgr.cc:502:20: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ wmmgr.cc:520:20: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 6 warnings generated. CXX wmapp.o In file included from wmapp.cc:10: In file included from ./atray.h:13: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmapp.cc:10: In file included from ./atray.h:13: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmapp.cc:10: In file included from ./atray.h:13: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmapp.cc:10: In file included from ./atray.h:13: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:411:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (pixbuf == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:544:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameT[0][0] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:546:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameL[0][0] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:548:47: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT( rgbFrameR[0][0] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:550:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameB[0][0] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:552:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameT[0][1] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:554:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameL[0][1] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:556:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameR[0][1] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:558:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameB[0][1] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:561:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameT[1][0] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:563:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameL[1][0] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:565:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameR[1][0] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:567:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameB[1][0] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:569:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameT[1][1] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:571:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameL[1][1] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:573:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameR[1][1] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:575:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(rgbFrameB[1][1] == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:611:37: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameT[a][b] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:613:37: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameB[a][b] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:615:37: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameL[a][b] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:617:37: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameR[a][b] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:620:30: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleS[a] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:622:30: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleT[a] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:624:30: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleB[a] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:635:25: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (depthPixmap[0]==null) depthPixmap[0] = paths.loadPixmap(0, "depth.xpm"); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:636:25: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (closePixmap[0]==null) closePixmap[0] = paths.loadPixmap(0, "close.xpm"); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:637:28: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (maximizePixmap[0]==null) maximizePixmap[0] = paths.loadPixmap(0, "maximize.xpm"); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:638:28: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (minimizePixmap[0]==null) minimizePixmap[0] = paths.loadPixmap(0, "minimize.xpm"); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:639:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (restorePixmap[0]==null) restorePixmap[0] = paths.loadPixmap(0, "restore.xpm"); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:640:24: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (hidePixmap[0]==null) hidePixmap[0] = paths.loadPixmap(0, "hide.xpm"); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:641:26: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (rollupPixmap[0]==null) rollupPixmap[0] = paths.loadPixmap(0, "rollup.xpm"); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:642:28: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (rolldownPixmap[0]==null) rolldownPixmap[0] = paths.loadPixmap(0, "rolldown.xpm"); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:644:39: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(logoutPixbuf == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:646:43: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(switchbackPixbuf == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:648:41: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(menubackPixbuf == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:650:40: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(menuselPixbuf == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:652:40: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(menusepPixbuf == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:656:41: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(listbackPixbuf == null) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:657:65: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (listbackPixmap = paths.loadPixmap(0, "listbg.xpm")) == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:660:43: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(dialogbackPixbuf == null) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:661:69: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (dialogbackPixmap = paths.loadPixmap(0, "dialogbg.xpm")) == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:663:40: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(buttonIPixbuf == null) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:664:65: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (buttonIPixmap = paths.loadPixmap(0, "buttonI.xpm")) == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:666:40: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(buttonAPixbuf == null) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:667:65: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (buttonAPixmap = paths.loadPixmap(0, "buttonA.xpm")) == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:671:43: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(toolbuttonPixbuf == null) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:673:63: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] paths.loadPixmap("taskbar/", "toolbuttonbg.xpm")) == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:675:47: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] IF_CONFIG_GRADIENTS (buttonIPixbuf != null, ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:32:45: note: expanded from macro 'IF_CONFIG_GRADIENTS' #define IF_CONFIG_GRADIENTS(Cond, Stmt) if (Cond) { Stmt; } ^~~~ wmapp.cc:679:48: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(workspacebuttonPixbuf == null) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:681:68: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] paths.loadPixmap("taskbar/", "workspacebuttonbg.xpm")) == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:683:47: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] IF_CONFIG_GRADIENTS (buttonIPixbuf != null, ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:32:45: note: expanded from macro 'IF_CONFIG_GRADIENTS' #define IF_CONFIG_GRADIENTS(Cond, Stmt) if (Cond) { Stmt; } ^~~~ wmapp.cc:687:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (TEST_GRADIENT(workspacebuttonactivePixbuf == null) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmapp.cc:689:72: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] paths.loadPixmap("taskbar/", "workspacebuttonactive.xpm")) == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:691:47: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] IF_CONFIG_GRADIENTS (buttonAPixbuf != null, ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:32:45: note: expanded from macro 'IF_CONFIG_GRADIENTS' #define IF_CONFIG_GRADIENTS(Cond, Stmt) if (Cond) { Stmt; } ^~~~ wmapp.cc:697:25: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (logoutPixmap != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:701:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (switchbackPixmap != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:706:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (menubackPixmap != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:710:26: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (menusepPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:712:26: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (menuselPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:716:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (listbackPixmap != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:722:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (dialogbackPixmap != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:727:26: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (buttonIPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:729:26: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (buttonAPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1401:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] closePixmap[0] = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1402:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] depthPixmap[0] = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1403:25: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] minimizePixmap[0] = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1404:25: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] maximizePixmap[0] = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1405:24: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] restorePixmap[0] = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1406:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] hidePixmap[0] = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1407:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] rollupPixmap[0] = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1408:25: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] rolldownPixmap[0] = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1409:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] menubackPixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1410:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] menuselPixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1411:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] menusepPixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1412:24: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] switchbackPixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1413:20: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] logoutPixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1416:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] menubackPixbuf = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1417:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] menuselPixbuf = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1418:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] menusepPixbuf = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1423:34: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] taskbuttonactivePixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1424:37: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] taskbuttonminimizedPixmap = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmapp.cc:1492:21: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k1 = XKeycodeToKeysym(xapp->display(), (KeyCode)xev.xkey.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ wmapp.cc:1494:21: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k2 = XKeycodeToKeysym(xapp->display(), (KeyCode)lastKeyEvent.xkey.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 87 warnings generated. CXX wmframe.o In file included from wmframe.cc:9: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmframe.cc:9: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmframe.cc:9: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmframe.cc:9: In file included from ./wmframe.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:1967:21: warning: add explicit braces to avoid dangling else [-Wdangling-else] else g.drawGradient(rgbFrameT[t][n], ^ wmframe.cc:1975:21: warning: add explicit braces to avoid dangling else [-Wdangling-else] else g.drawGradient(rgbFrameL[t][n], ^ wmframe.cc:1983:21: warning: add explicit braces to avoid dangling else [-Wdangling-else] else g.drawGradient(rgbFrameR[t][n], ^ wmframe.cc:1992:21: warning: add explicit braces to avoid dangling else [-Wdangling-else] else g.drawGradient(rgbFrameB[t][n], ^ wmframe.cc:1923:34: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if ((frameT[t][n] != null || TEST_GRADIENT(rgbFrameT[t][n] != null)) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:1923:75: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if ((frameT[t][n] != null || TEST_GRADIENT(rgbFrameT[t][n] != null)) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmframe.cc:1924:34: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (frameL[t][n] != null || TEST_GRADIENT(rgbFrameL[t][n] != null)) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:1924:75: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (frameL[t][n] != null || TEST_GRADIENT(rgbFrameL[t][n] != null)) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmframe.cc:1925:34: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (frameR[t][n] != null || TEST_GRADIENT(rgbFrameR[t][n] != null)) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:1925:75: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (frameR[t][n] != null || TEST_GRADIENT(rgbFrameR[t][n] != null)) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmframe.cc:1926:34: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (frameB[t][n] != null || TEST_GRADIENT(rgbFrameB[t][n] != null)) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:1926:75: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (frameB[t][n] != null || TEST_GRADIENT(rgbFrameB[t][n] != null)) && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ./ypaint.h:31:30: note: expanded from macro 'TEST_GRADIENT' #define TEST_GRADIENT(Cond) (Cond) ^~~~ wmframe.cc:1927:34: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] frameTL[t][n] != null && frameTR[t][n] != null && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:1927:59: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] frameTL[t][n] != null && frameTR[t][n] != null && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:1928:34: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] frameBL[t][n] != null && frameBR[t][n] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:1928:59: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] frameBL[t][n] != null && frameBR[t][n] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:1964:41: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameT[t][n] != null) g.repHorz(frameT[t][n], ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:1972:41: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameL[t][n] != null) g.repVert(frameL[t][n], ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:1980:41: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameR[t][n] != null) g.repVert(frameR[t][n], ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:1989:41: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameB[t][n] != null) g.repHorz(frameB[t][n], ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:2317:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] ref small = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:2318:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] ref large = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:2319:28: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] ref huge = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:2377:19: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] img = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:2412:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (small != null || large != null || huge != null ? new YIcon(small, large, huge) : 0); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:2412:39: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (small != null || large != null || huge != null ? new YIcon(small, large, huge) : 0); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:2412:55: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (small != null || large != null || huge != null ? new YIcon(small, large, huge) : 0); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:2457:48: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fFrameIcon && !(fFrameIcon->small() != null || fFrameIcon->large() != null)) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmframe.cc:2457:79: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fFrameIcon && !(fFrameIcon->small() != null || fFrameIcon->large() != null)) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 33 warnings generated. CXX wmbutton.o In file included from wmbutton.cc:10: In file included from ./wmbutton.h:4: In file included from ./yactionbutton.h:4: In file included from ./ybutton.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmbutton.cc:10: In file included from ./wmbutton.h:4: In file included from ./yactionbutton.h:4: In file included from ./ybutton.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmbutton.cc:10: In file included from ./wmbutton.h:4: In file included from ./yactionbutton.h:4: In file included from ./ybutton.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmbutton.cc:10: In file included from ./wmbutton.h:4: In file included from ./yactionbutton.h:4: In file included from ./ybutton.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmbutton.cc:132:16: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmbutton.cc:158:45: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] getFrame()->clientIcon()->small() : null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmbutton.cc:162:17: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (pixmap==null) pixmap=getImage(0); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmbutton.cc:175:25: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (icon != null && showFrameIcon) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmbutton.cc:181:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (pixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmbutton.cc:224:25: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (icon != null && showFrameIcon) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmbutton.cc:228:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (pixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmbutton.cc:247:25: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (icon != null && showFrameIcon) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmbutton.cc:256:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (pixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmbutton.cc:267:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (pixmap != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmbutton.cc:268:33: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if ( getImage(1) != null ) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmbutton.cc:285:37: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fAction == 0 && icon != null && showFrameIcon) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 16 warnings generated. CXX wmminiicon.o In file included from wmminiicon.cc:11: In file included from ./wmminiicon.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmminiicon.cc:11: In file included from ./wmminiicon.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmminiicon.cc:11: In file included from ./wmminiicon.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmminiicon.cc:11: In file included from ./wmminiicon.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmminiicon.cc:28:32: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (minimizedWindowFont == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmminiicon.cc:75:74: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (getFrame()->clientIcon() && getFrame()->clientIcon()->small() != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmminiicon.cc:88:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (font != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 7 warnings generated. CXX wmtitle.o In file included from wmtitle.cc:9: In file included from ./wmtitle.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmtitle.cc:9: In file included from ./wmtitle.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmtitle.cc:9: In file included from ./wmtitle.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmtitle.cc:9: In file included from ./wmtitle.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:49:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleFont == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:282:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleL[pi] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:287:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleR[pi] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:292:43: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] int lLeft(onLeft + (titleP[pi] != null ? (int)titleP[pi]->width() : 0)), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:293:45: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] lRight(onRight - (titleM[pi] != null ? (int)titleM[pi]->width() : 0)); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:304:34: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (rgbTitleT[pi] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:312:35: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleT[pi] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:318:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleP[pi] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:322:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleM[pi] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:329:34: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (rgbTitleS[pi] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:336:35: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleS[pi] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:343:34: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (rgbTitleB[pi] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:353:35: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleB[pi] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:359:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleJ[pi] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:361:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleQ[pi] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:400:35: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (pixmap != null && b->getImage(1) != null ) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:400:61: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (pixmap != null && b->getImage(1) != null ) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:417:36: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if ( pixmap != null && b->getImage(1) != null ) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:417:62: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if ( pixmap != null && b->getImage(1) != null ) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:437:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleL[pi] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:442:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleR[pi] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:447:43: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] int lLeft(onLeft + (titleP[pi] != null ? (int)titleP[pi]->width() : 0)), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:448:45: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] lRight(onRight - (titleM[pi] != null ? (int)titleM[pi]->width() : 0)); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:457:45: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (lLeft < lRight && titleT[pi] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:462:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleP[pi] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:466:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleM[pi] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:471:45: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (onLeft < lLeft && titleS[pi] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:476:47: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (lRight < onRight && titleB[pi] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:481:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleJ[pi] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmtitle.cc:483:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (titleQ[pi] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 34 warnings generated. CXX movesize.o In file included from movesize.cc:10: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from movesize.cc:10: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from movesize.cc:10: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from movesize.cc:10: In file included from ./wmframe.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ movesize.cc:206:16: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ movesize.cc:254:16: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ movesize.cc:749:24: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 7 warnings generated. CXX themes.o In file included from themes.cc:9: In file included from ./themes.h:6: In file included from ./objmenu.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from themes.cc:9: In file included from ./themes.h:6: In file included from ./objmenu.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from themes.cc:9: In file included from ./themes.h:6: In file included from ./objmenu.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from themes.cc:9: In file included from ./themes.h:6: In file included from ./objmenu.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from themes.cc:22: ./ascii.h:1:9: warning: '__ASCII_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __ASCII_H ^~~~~~~~~ ./ascii.h:2:9: note: '__ASCIIH_' is defined here; did you mean '__ASCII_H'? #define __ASCIIH_ ^~~~~~~~~ __ASCII_H 5 warnings generated. CXX decorate.o In file included from decorate.cc:8: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from decorate.cc:8: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from decorate.cc:8: In file included from ./wmframe.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from decorate.cc:8: In file included from ./wmframe.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:221:40: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] const int xTL(frameTL[t][a] != null ? frameTL[t][a]->width() : 0), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:223:35: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (frameTR[t][a] != null ? frameTR[t][a]->width() : 0)), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:224:34: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] xBL(frameBL[t][a] != null ? frameBL[t][a]->width() : 0), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:226:35: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (frameBR[t][a] != null ? frameBR[t][a]->width() : 0)); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:227:40: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] const int yTL(frameTL[t][a] != null ? frameTL[t][a]->height() : 0), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:229:35: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (frameBL[t][a] != null ? frameBL[t][a]->height() : 0)), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:230:34: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] yTR(frameTR[t][a] != null ? frameTR[t][a]->height() : 0), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:232:35: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (frameBR[t][a] != null ? frameBR[t][a]->height() : 0)); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:234:30: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameTL[t][a] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:243:30: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameTR[t][a] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:252:30: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameBL[t][a] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:261:30: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameBR[t][a] != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:271:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameT[t][a] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:275:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameB[t][a] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:279:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameL[t][a] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:283:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (frameR[t][a] != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:363:63: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] showFrameIcon) || b->getImage(0) == null ? ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:370:45: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] const unsigned bw(b->getImage(0) != null ? b->getImage(0)->width() : titleY()); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:447:32: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] int xPos(titleJ[pi] != null ? titleJ[pi]->width() : 0); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ decorate.cc:473:33: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] (titleQ[pi] != null ? titleQ[pi]->width() : 0)); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 24 warnings generated. CXX browse.o In file included from browse.cc:11: In file included from ./obj.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from browse.cc:11: In file included from ./obj.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from browse.cc:11: In file included from ./obj.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from browse.cc:12: In file included from ./objmenu.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX wmprog.o In file included from wmprog.cc:13: In file included from ./objmenu.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmprog.cc:13: In file included from ./objmenu.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmprog.cc:13: In file included from ./objmenu.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmprog.cc:13: In file included from ./objmenu.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ wmprog.cc:709:20: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. CXX atasks.o In file included from atasks.cc:7: In file included from ./atasks.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from atasks.cc:7: In file included from ./atasks.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from atasks.cc:7: In file included from ./atasks.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from atasks.cc:7: In file included from ./atasks.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atasks.cc:196:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (bgGrad != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atasks.cc:200:26: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (bgPix != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atasks.cc:214:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (small != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atasks.cc:229:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (font != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atasks.cc:236:52: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskBarShowWindowIcons && small != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atasks.cc:484:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (gradient != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atasks.cc:488:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskbackPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 11 warnings generated. CXX aworkspaces.o In file included from aworkspaces.cc:6: In file included from ./aworkspaces.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from aworkspaces.cc:6: In file included from ./aworkspaces.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from aworkspaces.cc:6: In file included from ./aworkspaces.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from aworkspaces.cc:6: In file included from ./aworkspaces.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ aworkspaces.cc:109:30: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (image != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ aworkspaces.cc:172:31: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] ? activeButtonFont != null ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ aworkspaces.cc:177:31: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] ? normalButtonFont != null ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 7 warnings generated. CXX amailbox.o In file included from amailbox.cc:15: In file included from ./amailbox.h:6: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from amailbox.cc:15: In file included from ./amailbox.h:6: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from amailbox.cc:15: In file included from ./amailbox.h:6: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from amailbox.cc:15: In file included from ./amailbox.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ amailbox.cc:361:19: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (pixmap == null || pixmap->mask()) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ amailbox.cc:365:25: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (gradient != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ amailbox.cc:369:35: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskbackPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ amailbox.cc:377:19: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (pixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 8 warnings generated. CXX aclock.o In file included from aclock.cc:15: In file included from ./aclock.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from aclock.cc:15: In file included from ./aclock.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from aclock.cc:15: In file included from ./aclock.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from aclock.cc:15: In file included from ./aclock.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ aclock.cc:50:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (clockFont == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ aclock.cc:198:25: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (gradient != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ aclock.cc:203:31: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskbackPixmap != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ aclock.cc:221:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ aclock.cc:306:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ aclock.cc:323:14: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null && p->mask()) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 10 warnings generated. CXX acpustatus.o In file included from acpustatus.cc:22: In file included from ./wmapp.h:4: In file included from ./ysmapp.h:4: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from acpustatus.cc:22: In file included from ./wmapp.h:4: In file included from ./ysmapp.h:4: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from acpustatus.cc:22: In file included from ./wmapp.h:4: In file included from ./ysmapp.h:4: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from acpustatus.cc:22: In file included from ./wmapp.h:4: In file included from ./ysmapp.h:4: In file included from ./yxapp.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX apppstatus.o In file included from apppstatus.cc:21: In file included from ./wmtaskbar.h:5: In file included from ./ybutton.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from apppstatus.cc:21: In file included from ./wmtaskbar.h:5: In file included from ./ybutton.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from apppstatus.cc:21: In file included from ./wmtaskbar.h:5: In file included from ./ybutton.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from apppstatus.cc:21: In file included from ./wmtaskbar.h:5: In file included from ./ybutton.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX aaddressbar.o In file included from aaddressbar.cc:10: In file included from ./aaddressbar.h:6: In file included from ./yinputline.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from aaddressbar.cc:10: In file included from ./aaddressbar.h:6: In file included from ./yinputline.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from aaddressbar.cc:10: In file included from ./aaddressbar.h:6: In file included from ./yinputline.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from aaddressbar.cc:10: In file included from ./aaddressbar.h:6: In file included from ./yinputline.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ aaddressbar.cc:27:20: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. CXX objbar.o In file included from objbar.cc:9: In file included from ./objmenu.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from objbar.cc:9: In file included from ./objmenu.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from objbar.cc:9: In file included from ./objmenu.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from objbar.cc:9: In file included from ./objmenu.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ objbar.cc:46:34: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (icon && icon->small() != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ objbar.cc:72:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (gradient != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ objbar.cc:76:31: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskbackPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ objbar.cc:117:20: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return font != null ? font : font = ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 8 warnings generated. CXX aapm.o CXX atray.o In file included from atray.cc:21: In file included from ./atray.h:13: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from atray.cc:21: In file included from ./atray.h:13: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from atray.cc:21: In file included from ./atray.h:13: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from atray.cc:21: In file included from ./atray.h:13: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atray.cc:121:38: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskMinimizedGradient == null && taskbuttonminimizedPixbuf != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atray.cc:121:75: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskMinimizedGradient == null && taskbuttonminimizedPixbuf != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atray.cc:130:35: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskActiveGradient == null && taskbuttonactivePixbuf != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atray.cc:130:69: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskActiveGradient == null && taskbuttonactivePixbuf != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atray.cc:139:35: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskNormalGradient == null && taskbuttonPixbuf != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atray.cc:139:63: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskNormalGradient == null && taskbuttonPixbuf != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atray.cc:154:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (bgGrad != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atray.cc:158:26: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (bgPix != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atray.cc:171:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (small != null) g.drawImage(small, 2, 2); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atray.cc:385:64: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] ref gradient(parent() ? parent()->getGradient() : null); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atray.cc:387:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (gradient != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ atray.cc:391:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (taskbackPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 16 warnings generated. CXX ysmapp.o In file included from ysmapp.cc:5: In file included from ./ysmapp.h:4: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ysmapp.cc:5: In file included from ./ysmapp.h:4: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ysmapp.cc:5: In file included from ./ysmapp.h:4: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ysmapp.cc:5: In file included from ./ysmapp.h:4: In file included from ./yxapp.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX yxtray.o In file included from yxtray.cc:3: In file included from ./yxtray.h:4: In file included from ./yxembed.h:5: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yxtray.cc:3: In file included from ./yxtray.h:4: In file included from ./yxembed.h:5: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yxtray.cc:3: In file included from ./yxtray.h:4: In file included from ./yxembed.h:5: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yxtray.cc:3: In file included from ./yxtray.h:4: In file included from ./yxembed.h:5: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX ymenu.o In file included from ymenu.cc:10: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ymenu.cc:10: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ymenu.cc:10: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ymenu.cc:10: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ymenu.cc:19: ./ascii.h:1:9: warning: '__ASCII_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __ASCII_H ^~~~~~~~~ ./ascii.h:2:9: note: '__ASCIIH_' is defined here; did you mean '__ASCII_H'? #define __ASCIIH_ ^~~~~~~~~ __ASCII_H ymenu.cc:58:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (menuFont == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenu.cc:95:17: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] fGradient = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenu.cc:154:44: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (getItem(selItem)->getIcon() != null && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenu.cc:311:16: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ ymenu.cc:455:25: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (menuFont != null) { // ================ autoscrolling of large menus === ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenu.cc:825:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (menubackPixbuf != null ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenu.cc:826:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] && !(fGradient != null && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenu.cc:860:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fGradient != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenu.cc:864:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (menubackPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenu.cc:874:26: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (menusepPixbuf != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenu.cc:885:26: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (menusepPixmap != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenu.cc:944:42: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (menuselPixbuf != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenu.cc:948:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (menuselPixmap != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenu.cc:1019:48: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] } else if (mitem->getIcon() != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 19 warnings generated. CXX ylabel.o In file included from ylabel.cc:10: In file included from ./ylabel.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ylabel.cc:10: In file included from ./ylabel.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ylabel.cc:10: In file included from ./ylabel.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ylabel.cc:10: In file included from ./ylabel.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ylabel.cc:23:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (labelFont == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ylabel.cc:40:64: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] ref gradient(parent() ? parent()->getGradient() : null); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ylabel.cc:42:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (gradient != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ylabel.cc:46:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (dialogbackPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 8 warnings generated. CXX yscrollview.o In file included from yscrollview.cc:10: In file included from ./yscrollview.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yscrollview.cc:10: In file included from ./yscrollview.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yscrollview.cc:10: In file included from ./yscrollview.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yscrollview.cc:10: In file included from ./yscrollview.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX ymenuitem.o In file included from ymenuitem.cc:8: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ymenuitem.cc:8: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ymenuitem.cc:8: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ymenuitem.cc:10: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenuitem.cc:26:56: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] fHotCharPos(aHotCharPos), fSubmenu(submenu), fIcon(null), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenuitem.cc:48:24: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] fSubmenu(0), fIcon(null), fChecked(false), fEnabled(true) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenuitem.cc:53:24: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] fSubmenu(0), fIcon(null), fChecked(false), fEnabled(false) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenuitem.cc:84:26: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (getIcon() != null && getIcon()->height() > ih) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ymenuitem.cc:117:20: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return icon != null ? icon->width() : 0; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 9 warnings generated. CXX yscrollbar.o In file included from yscrollbar.cc:13: In file included from ./yscrollbar.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yscrollbar.cc:13: In file included from ./yscrollbar.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yscrollbar.cc:13: In file included from ./yscrollbar.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yscrollbar.cc:13: In file included from ./yscrollbar.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yscrollbar.cc:695:20: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. CXX ybutton.o In file included from ybutton.cc:9: In file included from ./ybutton.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ybutton.cc:9: In file included from ./ybutton.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ybutton.cc:9: In file included from ./ybutton.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ybutton.cc:9: In file included from ./ybutton.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ybutton.cc:17: ./ascii.h:1:9: warning: '__ASCII_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __ASCII_H ^~~~~~~~~ ./ascii.h:2:9: note: '__ASCIIH_' is defined here; did you mean '__ASCII_H'? #define __ASCIIH_ ^~~~~~~~~ __ASCII_H ybutton.cc:42:12: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] fImage(null), fText(NULL), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ybutton.cc:51:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (normalButtonFont == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ybutton.cc:53:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (activeButtonFont == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ybutton.cc:80:19: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fImage != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ybutton.cc:200:16: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ ybutton.cc:319:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (image != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ybutton.cc:356:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fImage == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 12 warnings generated. CXX ylistbox.o In file included from ylistbox.cc:14: In file included from ./ylistbox.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ylistbox.cc:14: In file included from ./ylistbox.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ylistbox.cc:14: In file included from ./ylistbox.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ylistbox.cc:14: In file included from ./ylistbox.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ylistbox.cc:22: ./ascii.h:1:9: warning: '__ASCII_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __ASCII_H ^~~~~~~~~ ./ascii.h:2:9: note: '__ASCIIH_' is defined here; did you mean '__ASCII_H'? #define __ASCIIH_ ^~~~~~~~~ __ASCII_H ylistbox.cc:76:24: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (listBoxFont == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ylistbox.cc:114:17: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] fGradient = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ylistbox.cc:194:36: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (listBoxFont != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ylistbox.cc:294:31: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (listbackPixbuf != null ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ylistbox.cc:295:31: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] && !(fGradient != null && ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ylistbox.cc:308:20: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ ylistbox.cc:578:26: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fGradient != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ylistbox.cc:583:35: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (listbackPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ylistbox.cc:595:28: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (listBoxFont != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ylistbox.cc:606:34: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (icon && icon->small() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ylistbox.cc:633:26: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fGradient != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ylistbox.cc:637:35: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (listbackPixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 17 warnings generated. CXX yinput.o In file included from yinput.cc:10: In file included from ./yinputline.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yinput.cc:10: In file included from ./yinputline.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yinput.cc:10: In file included from ./yinputline.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yinput.cc:10: In file included from ./yinputline.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yinput.cc:34:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (inputFont == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yinput.cc:69:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (inputFont != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yinput.cc:109:48: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (curPos == markPos || !fText || font == null || !fHasFocus) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yinput.cc:131:17: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (font != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yinput.cc:164:20: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ yinput.cc:179:21: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 1); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ yinput.cc:441:17: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (font != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yinput.cc:532:17: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (font != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 12 warnings generated. CXX wmconfig.o In file included from wmconfig.cc:18: In file included from ./wmmgr.h:5: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmconfig.cc:18: In file included from ./wmmgr.h:5: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmconfig.cc:18: In file included from ./wmmgr.h:5: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from wmconfig.cc:18: In file included from ./wmmgr.h:5: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX yicon.o In file included from yicon.cc:9: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yicon.cc:9: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yicon.cc:9: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yicon.cc:15: In file included from ./wmprog.h:6: In file included from ./objmenu.h:4: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:33:12: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] fSmall(null), fLarge(null), fHuge(null), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:33:26: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] fSmall(null), fLarge(null), fHuge(null), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:33:39: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] fSmall(null), fLarge(null), fHuge(null), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:41:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] loadedS(small != null), loadedL(large != null), loadedH(huge != null), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:41:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] loadedS(small != null), loadedL(large != null), loadedH(huge != null), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:41:69: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] loadedS(small != null), loadedL(large != null), loadedH(huge != null), ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:47:13: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] fHuge = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:48:14: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] fLarge = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:49:14: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] fSmall = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:156:56: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (icon.init(new YIconImage(loadPath)) == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:162:17: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (icon != null && !icon->valid()) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:163:16: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] icon = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:166:17: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (icon != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:174:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fHuge == null && !loadedH) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:179:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fHuge == null && large() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:179:41: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fHuge == null && large() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:182:22: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fHuge == null && small() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:182:41: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fHuge == null && small() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:201:19: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fLarge == null && !loadedL) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:206:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fLarge == null && huge() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:206:41: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fLarge == null && huge() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:209:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fLarge == null && small() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:209:42: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fLarge == null && small() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:228:19: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fSmall == null && !loadedS) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:233:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fSmall == null && large() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:233:42: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fSmall == null && large() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:236:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fSmall == null && huge() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:236:41: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fSmall == null && huge() != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:259:32: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] ref base = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:268:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (base == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:270:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (base == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:272:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (base == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yicon.cc:275:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (base != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 37 warnings generated. CXX ref.o CXX yapp.o In file included from yapp.cc:7: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yapp.cc:7: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yapp.cc:7: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 3 warnings generated. CXX yxapp.o In file included from yxapp.cc:3: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yxapp.cc:3: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yxapp.cc:3: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yxapp.cc:3: In file included from ./yxapp.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yxapp.cc:371:29: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym kc = XKeycodeToKeysym(xapp->display(), *c, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ yxapp.cc:373:26: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] kc = XKeycodeToKeysym(xapp->display(), *c, 1); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 6 warnings generated. CXX ytimer.o In file included from ytimer.cc:8: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ytimer.cc:8: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ytimer.cc:8: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 3 warnings generated. CXX ywindow.o In file included from ywindow.cc:9: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ywindow.cc:9: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ywindow.cc:9: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ywindow.cc:9: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ywindow.cc:16: ./ascii.h:1:9: warning: '__ASCII_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __ASCII_H ^~~~~~~~~ ./ascii.h:2:9: note: '__ASCIIH_' is defined here; did you mean '__ASCII_H'? #define __ASCIIH_ ^~~~~~~~~ __ASCII_H ywindow.cc:667:19: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (pixmap != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ywindow.cc:767:20: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] KeySym k = XKeycodeToKeysym(xapp->display(), (KeyCode)key.keycode, 0); ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /Users/pbulk/build/wm/icewm-imlib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 7 warnings generated. CXX ypaint.o In file included from ypaint.cc:9: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ypaint.cc:9: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ypaint.cc:9: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ypaint.cc:11: In file included from ./yxapp.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ypaint.cc:376:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fFont != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ypaint.cc:386:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] int const w = (fFont != null) ? fFont->textWidth(str, len) : 0; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ypaint.cc:388:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (fFont == null || w <= maxWidth) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ypaint.cc:463:30: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] left = (fFont != null) ? fFont->textWidth(str, c) : 0; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ypaint.cc:466:31: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] right = (fFont != null) ? fFont->textWidth(str, c) - 1: 0; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ypaint.cc:926:29: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (surface.gradient != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ypaint.cc:932:23: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (surface.pixmap != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 11 warnings generated. CXX ypopup.o In file included from ypopup.cc:8: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ypopup.cc:8: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ypopup.cc:8: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ypopup.cc:8: In file included from ./ymenu.h:4: In file included from ./ypopup.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX misc.o misc.cc:314:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] *(char *)0 = 0x42; ^~~~~~~~~~ misc.cc:314:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' 1 warning generated. CXX ycursor.o In file included from ycursor.cc:13: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ycursor.cc:13: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ycursor.cc:13: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ycursor.cc:13: In file included from ./yxapp.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ycursor.cc:174:39: warning: result of comparison of constant 47 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare] if ((c == fgetc(xpm)) == '/') // ------ eat C++ line comment --- ~~~~~~~~~~~~~~~~~ ^ ~~~ 5 warnings generated. CXX ysocket.o In file included from ysocket.cc:9: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ysocket.cc:9: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ysocket.cc:9: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 3 warnings generated. CXX ypaths.o In file included from ypaths.cc:18: In file included from ./ypaths.h:12: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ypaths.cc:18: In file included from ./ypaths.h:12: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ypaths.cc:18: In file included from ./ypaths.h:12: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ypaths.cc:163:59: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] for (YPathElement * pe(fPaths); pe->root && pixmap == null; pe++) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ypaths.cc:166:63: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (isreg(path) && (pixmap.init(new YPixmap(path)) == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ypaths.cc:185:59: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] for (YPathElement * pe(fPaths); pe->root && pixbuf == null; pe++) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ypaths.cc:188:74: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (isreg(path) && (pixbuf.init(new YPixbuf(path, fullAlpha)) == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ypaths.cc:206:59: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] for (YPathElement * pe(fPaths); pe->root && pixbuf == null; pe++) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ypaths.cc:209:66: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (isreg(path) && (pixbuf.init(new YIconImage(path)) == null)) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 9 warnings generated. CXX ypixbuf.o In file included from ypixbuf.cc:36: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ypixbuf.cc:36: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ypixbuf.cc:36: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ypixbuf.cc:36: In file included from ./yxapp.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ypixbuf.cc:1077:19: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (source != null && source->valid()) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 5 warnings generated. CXX ylocale.o CXX yarray.o CXX ypipereader.o In file included from ypipereader.cc:3: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ypipereader.cc:3: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ypipereader.cc:3: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 3 warnings generated. CXX yxembed.o In file included from yxembed.cc:3: In file included from ./yxembed.h:5: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yxembed.cc:3: In file included from ./yxembed.h:5: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yxembed.cc:3: In file included from ./yxembed.h:5: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yxembed.cc:3: In file included from ./yxembed.h:5: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX yconfig.o In file included from yconfig.cc:5: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yconfig.cc:5: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yconfig.cc:5: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 3 warnings generated. CXX yprefs.o CXX yfont.o In file included from yfont.cc:3: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yfont.cc:3: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yfont.cc:3: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yfont.cc:4: In file included from ./yxapp.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX yfontcore.o In file included from yfontcore.cc:5: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yfontcore.cc:5: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yfontcore.cc:5: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yfontcore.cc:9: In file included from ./yxapp.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yfontcore.cc:205:55: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (multiByte && font.init(new YFontSet(name)) != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yfontcore.cc:209:16: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] font = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yfontcore.cc:214:43: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (font.init(new YCoreFont(name)) != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yfontcore.cc:218:16: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] font = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yfontcore.cc:221:12: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 9 warnings generated. CXX yfontxft.o In file included from yfontxft.cc:6: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yfontxft.cc:6: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yfontxft.cc:6: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yfontxft.cc:7: In file included from ./yxapp.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yfontxft.cc:269:17: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (font == null || !font->valid()) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yfontxft.cc:272:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (font == null || !font->valid()) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yfontxft.cc:280:17: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (font == null || !font->valid()) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ yfontxft.cc:283:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (font == null || !font->valid()) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 8 warnings generated. CXX yimage.o In file included from yimage.cc:9: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yimage.cc:9: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yimage.cc:9: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from yimage.cc:10: In file included from ./yxapp.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CXX ytooltip.o In file included from ytooltip.cc:7: In file included from ./ytooltip.h:5: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ytooltip.cc:7: In file included from ./ytooltip.h:5: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ytooltip.cc:7: In file included from ./ytooltip.h:5: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from ytooltip.cc:7: In file included from ./ytooltip.h:5: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ ytooltip.cc:27:24: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (toolTipFont == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 5 warnings generated. LD icewm ld: warning: ignoring duplicate libraries: '-lICE', '-lSM', '-lX11', '-lXext', '-liconv', '-ljpeg', '-lz' CXX icesm.o In file included from icesm.cc:3: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from icesm.cc:3: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from icesm.cc:3: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from icesm.cc:3: In file included from ./yxapp.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. LD icewm-session ld: warning: ignoring duplicate libraries: '-lICE', '-lSM', '-lX11', '-lXext', '-liconv', '-ljpeg', '-lz' CXX icesh.o LD icesh ld: warning: ignoring duplicate libraries: '-liconv' CXX icewmhint.o LD icewmhint ld: warning: ignoring duplicate libraries: '-liconv' CXX icewmbg.o In file included from icewmbg.cc:4: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from icewmbg.cc:4: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from icewmbg.cc:4: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from icewmbg.cc:4: In file included from ./yxapp.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ icewmbg.cc:115:30: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (defaultBackground == null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ icewmbg.cc:124:16: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ icewmbg.cc:172:17: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (back != null && (centerBackground || desktopBackgroundScaled)) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ icewmbg.cc:201:27: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (scaled != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ icewmbg.cc:204:26: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] scaled = null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ icewmbg.cc:271:21: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (back != null) { ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ icewmbg.cc:306:46: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] tColor) : null; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ icewmbg.cc:307:25: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (root != null) currentBackground = root; ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ icewmbg.cc:310:42: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] Pixmap const tPixmap(root != null ? root->pixmap() : bPixmap); ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 13 warnings generated. LD icewmbg ld: warning: ignoring duplicate libraries: '-lICE', '-lSM', '-lX11', '-lXext', '-liconv', '-ljpeg', '-lz' CXX icetray.o In file included from icetray.cc:4: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from icetray.cc:4: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from icetray.cc:4: In file included from ./yxapp.h:4: In file included from ./yapp.h:6: In file included from ./ypaths.h:12: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from icetray.cc:4: In file included from ./yxapp.h:6: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. LD icewmtray ld: warning: ignoring duplicate libraries: '-lICE', '-lSM', '-lX11', '-lXext', '-liconv', '-ljpeg', '-lz' CXX icehelp.o In file included from icehelp.cc:9: In file included from ./ylistbox.h:4: In file included from ./ywindow.h:4: ./ypaint.h:210:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from icehelp.cc:9: In file included from ./ylistbox.h:4: In file included from ./ywindow.h:4: ./ypaint.h:284:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from icehelp.cc:9: In file included from ./ylistbox.h:4: In file included from ./ywindow.h:4: ./ypaint.h:288:18: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] if (p != null) ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from icehelp.cc:9: In file included from ./ylistbox.h:4: ./ywindow.h:127:54: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference] return (parent() ? parent()->getGradient() : null); } ^~~~ ./ref.h:22:15: note: expanded from macro 'null' #define null (*(class null_ref *)0) ^~~~~~~~~~~~~~~~~~~~ In file included from icehelp.cc:20: ./ascii.h:1:9: warning: '__ASCII_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __ASCII_H ^~~~~~~~~ ./ascii.h:2:9: note: '__ASCIIH_' is defined here; did you mean '__ASCII_H'? #define __ASCIIH_ ^~~~~~~~~ __ASCII_H 5 warnings generated. LD icehelp ld: warning: ignoring duplicate libraries: '-lICE', '-lSM', '-lX11', '-lXext', '-liconv', '-ljpeg', '-lz' HOSTCXX genpref.o HOSTLD genpref GENPREF ../lib/preferences gmake[1]: Leaving directory '/Users/pbulk/build/wm/icewm-imlib/work/icewm-1.2.38pre2/src' gmake[1]: Entering directory '/Users/pbulk/build/wm/icewm-imlib/work/icewm-1.2.38pre2/po' /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o be.mo be.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o bg.mo bg.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o ca.mo ca.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o cs.mo cs.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o da.mo da.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o de.mo de.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o el.mo el.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o en.mo en.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o es.mo es.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o fi.mo fi.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o fr.mo fr.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o hr.mo hr.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o hu.mo hu.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o id.mo id.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o it.mo it.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o ja.mo ja.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o ko.mo ko.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o lt.mo lt.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o lv.mo lv.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o mk.mo mk.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o nb.mo nb.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o nl.mo nl.po /Users/pbulk/build/wm/icewm-imlib/work/.tools/bin/msgfmt -o pl.mo pl.po /Users/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. /Users/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 '/Users/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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/wm/icewm-imlib *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/wm/icewm-imlib