FreeBSD Bugzilla – Attachment 194008 Details for
Bug 228317
x11-wm/icewm: pet pkg-fallout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
QA LOG for x11-wm/icewm
icewm-1384-clang60-LOG (text/plain), 428.76 KB, created by
Chris Hutchinson
on 2018-06-05 01:40:35 UTC
(
hide
)
Description:
QA LOG for x11-wm/icewm
Filename:
MIME Type:
Creator:
Chris Hutchinson
Created:
2018-06-05 01:40:35 UTC
Size:
428.76 KB
patch
obsolete
>Script started on Fri May 25 19:20:01 2018 >root@12current:/usr/ports/x11-wm/icewm # make -DBATCH check-plist > >===> License GPLv2 accepted by the user >===> icewm-1.3.8_4 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by icewm-1.3.8_4 for building >===> Extracting for icewm-1.3.8_4 >=> SHA256 Checksum OK for icewm-1.3.8.tar.gz. >===> Patching for icewm-1.3.8_4 >===> Applying extra patch /usr/ports/x11-wm/icewm/files/extra-menu-icon-fix.patch >===> Applying FreeBSD patches for icewm-1.3.8_4 >XXXX: 50 >===> icewm-1.3.8_4 depends on executable: gmake - found >===> icewm-1.3.8_4 depends on package: pkgconf>=1.3.0_1 - found >===> icewm-1.3.8_4 depends on executable: msgfmt - found >===> icewm-1.3.8_4 depends on file: /usr/local/bin/clang60 - found >===> icewm-1.3.8_4 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found >===> icewm-1.3.8_4 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found >===> icewm-1.3.8_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found >===> icewm-1.3.8_4 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found >===> icewm-1.3.8_4 depends on file: /usr/local/libdata/pkgconfig/xrender.pc - found >===> icewm-1.3.8_4 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found >===> icewm-1.3.8_4 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found >===> icewm-1.3.8_4 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) >===> icewm-1.3.8_4 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so) >===> icewm-1.3.8_4 depends on shared library: libXft.so - found (/usr/local/lib/libXft.so) >===> icewm-1.3.8_4 depends on shared library: libiconv.so - found (/usr/local/lib/libiconv.so) >===> icewm-1.3.8_4 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) >===> icewm-1.3.8_4 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so) >===> icewm-1.3.8_4 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) >===> icewm-1.3.8_4 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) >===> Configuring for icewm-1.3.8_4 >configure: loading site script /usr/ports/Templates/config.site >checking build system type... amd64-portbld-freebsd12.0 >checking host system type... amd64-portbld-freebsd12.0 >checking target system type... amd64-portbld-freebsd12.0 >checking whether the C++ compiler works... yes >checking for C++ compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C++ compiler... yes >checking whether /usr/local/bin/clang++60 accepts -g... yes >checking whether the C++ compiler (/usr/local/bin/clang++60) accepts no_rtti... yes >checking for a BSD-compatible install... /usr/bin/install -c >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for sys/wait.h that is POSIX.1 compatible... (cached) yes >checking how to run the C++ preprocessor... /usr/local/bin/clang++60 -E >checking for grep that handles long lines and -e... (cached) /usr/bin/grep >checking for egrep... (cached) /usr/bin/egrep >checking for ANSI C header files... (cached) yes >checking for sys/types.h... (cached) yes >checking for sys/stat.h... (cached) yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for memory.h... (cached) yes >checking for strings.h... (cached) yes >checking for inttypes.h... (cached) yes >checking for stdint.h... (cached) yes >checking for unistd.h... (cached) yes >checking for fcntl.h... (cached) yes >checking for limits.h... (cached) yes >checking for strings.h... (cached) yes >checking for sys/ioctl.h... (cached) yes >checking for sys/time.h... (cached) yes >checking for unistd.h... (cached) yes >checking linux/threads.h usability... no >checking linux/threads.h presence... no >checking for linux/threads.h... no >checking linux/tasks.h usability... no >checking linux/tasks.h presence... no >checking for linux/tasks.h... no >checking for sched.h... (cached) yes >checking sys/dkstat.h usability... yes >checking sys/dkstat.h presence... yes >checking for sys/dkstat.h... yes >checking for sys/param.h... (cached) yes >checking for sys/sysctl.h... (cached) yes >checking uvm/uvm_param.h usability... no >checking uvm/uvm_param.h presence... no >checking for uvm/uvm_param.h... no >checking for libgen.h... (cached) yes >checking machine/apmvar.h usability... no >checking machine/apmvar.h presence... no >checking for machine/apmvar.h... no >checking machine/apm_bios.h usability... yes >checking machine/apm_bios.h presence... yes >checking for machine/apm_bios.h... yes >checking kstat.h usability... no >checking kstat.h presence... no >checking for kstat.h... no >checking for size_t... (cached) yes >checking whether time.h and sys/time.h may both be included... yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking size of char... 1 >checking size of short... 2 >checking size of int... 4 >checking size of long... 8 >checking return type of signal handlers... void >checking for strftime... (cached) yes >checking for vprintf... (cached) yes >checking for _doprnt... no >checking for gettimeofday... (cached) yes >checking for putenv... (cached) yes >checking for select... (cached) yes >checking for socket... yes >checking for strtol... (cached) yes >checking for strtoul... (cached) yes >checking for basename... (cached) yes >checking for sysctlbyname... yes >checking for sys/select.h... (cached) yes >checking for sys/socket.h... (cached) yes >checking types of arguments for select... int,fd_set *,struct timeval * >checking for getloadavg... yes >checking for kern.cp_time... yes >checking for X... libraries /usr/local/lib, headers /usr/local/include >checking whether -R must be followed by a space... neither works >checking for gethostbyname... (cached) yes >checking for connect... yes >checking for remove... yes >checking for shmat... yes >checking for IceConnectionNumber in -lICE... yes >checking for langinfo.h... (cached) yes >checking for nl_langinfo... (cached) yes >checking whether nl_langinfo supports CODESET... yes >checking whether nl_langinfo supports _NL_CTYPE_CODESET_NAME... no >checking iconv.h usability... yes >checking iconv.h presence... yes >checking for iconv.h... yes >checking whether _libiconv_version is declared... yes >assuming iconv.h belongs to GNU libiconv >checking whether iconv converts from UTF-8 to UCS-4//TRANSLIT... yes >checking whether iconv converts from ISO-8859-1 to UCS-4//TRANSLIT... yes >checking whether iconv converts from ISO-8859-2 to UCS-4//TRANSLIT... yes >checking whether iconv converts from UTF-8 to UCS-4//TRANSLIT... yes >checking for bindtextdomain... no >checking for bindtextdomain in -lintl... yes >checking for xgettext... /usr/local/bin/xgettext >checking for msgmerge... /usr/local/bin/msgmerge >checking for msgfmt... /usr/local/bin/msgfmt >checking for XInternAtoms in -lX11... yes >checking for IceConnectionNumber in -lICE... (cached) yes >checking for XShapeCombineRectangles in -lXext... yes >checking for xft-config... /usr/local/bin/xft-config >checking for XineramaQueryScreens in -lXinerama... yes >./configure: kde-config: not found >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating po/Makefile >config.status: WARNING: 'po/Makefile.in' seems to ignore the --datarootdir setting >config.status: creating lib/keys >config.status: creating lib/menu >config.status: creating lib/programs >config.status: creating lib/toolbar >config.status: creating lib/winoptions >config.status: creating src/config.h >config.status: executing config.status commands > >Build targets: base nls >Applications: icewm icewm-session icesh icewmhint icewmbg icewmtray icesound icehelp >Image library: gdk_pixbuf_xlib >Audio support: OSS >Features: i18n nls shaped-decorations gradients xfreetype gui-events >Paths: PREFIX: /usr/local > BINDIR: /usr/local/bin > LOCDIR: /usr/local/share/locale > LIBDIR: /usr/local/share/icewm > CFGDIR: /usr/local/share/icewm > KDEDIR: /usr/local/share > DOCDIR: /usr/local/share/doc > MANDIR: /usr/local/man >===> Building for icewm-1.3.8_4 >gmake[1]: Entering directory '/usr/ports/x11-wm/icewm/work/icewm-1.3.8' >gmake[2]: Entering directory '/usr/ports/x11-wm/icewm/work/icewm-1.3.8/po' >/usr/local/bin/msgfmt -o be.mo be.po >/usr/local/bin/msgfmt -o bg.mo bg.po >/usr/local/bin/msgfmt -o ca.mo ca.po >gmake[2]: Entering directory '/usr/ports/x11-wm/icewm/work/icewm-1.3.8/src' >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c ymsgbox.cc >/usr/local/bin/msgfmt -o cs.mo cs.po >/usr/local/bin/msgfmt -o da.mo da.po >/usr/local/bin/msgfmt -o de.mo de.po >/usr/local/bin/msgfmt -o el.mo el.po >/usr/local/bin/msgfmt -o en.mo en.po >/usr/local/bin/msgfmt -o es.mo es.po >/usr/local/bin/msgfmt -o fi.mo fi.po >/usr/local/bin/msgfmt -o fr.mo fr.po >/usr/local/bin/msgfmt -o hr.mo hr.po >/usr/local/bin/msgfmt -o hu.mo hu.po >/usr/local/bin/msgfmt -o id.mo id.po >/usr/local/bin/msgfmt -o it.mo it.po >/usr/local/bin/msgfmt -o ja.mo ja.po >/usr/local/bin/msgfmt -o ko.mo ko.po >/usr/local/bin/msgfmt -o lt.mo lt.po >/usr/local/bin/msgfmt -o lv.mo lv.po >/usr/local/bin/msgfmt -o mk.mo mk.po >/usr/local/bin/msgfmt -o nb.mo nb.po >/usr/local/bin/msgfmt -o nl.mo nl.po >/usr/local/bin/msgfmt -o pl.mo pl.po >/usr/local/bin/msgfmt -o pt_BR.mo pt_BR.po >/usr/local/bin/msgfmt -o ro.mo ro.po >/usr/local/bin/msgfmt -o ru.mo ru.po >/usr/local/bin/msgfmt -o sk.mo sk.po >/usr/local/bin/msgfmt -o sl.mo sl.po >/usr/local/bin/msgfmt -o sv.mo sv.po >/usr/local/bin/msgfmt -o tr.mo tr.po >/usr/local/bin/msgfmt -o uk.mo uk.po >/usr/local/bin/msgfmt -o vi.mo vi.po >/usr/local/bin/msgfmt -o zh_CN.mo zh_CN.po >/usr/local/bin/msgfmt -o zh_TW.mo zh_TW.po >gmake[2]: Leaving directory '/usr/ports/x11-wm/icewm/work/icewm-1.3.8/po' >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c ydialog.cc >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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 ymsgbox.cc:13: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymsgbox.cc:29:25: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fLabel = new YLabel(null, this); > ^~~~ >./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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 ydialog.cc:13: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./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) > ^~~~~~~~~~~~~~~~~~~~ >11 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c yurl.cc >In file included from yurl.cc:12: >In file included from ./yurl.h:13: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(null) {} > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from yurl.cc:12: >In file included from ./yurl.h:13: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(null) {}; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from yurl.cc:12: >In file included from ./yurl.h:13: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from yurl.cc:12: >In file included from ./yurl.h:13: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == null; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from yurl.cc:12: >In file included from ./yurl.h:13: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != null; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:24:13: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fScheme(null), fUser(null), fPassword(null), > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:24:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fScheme(null), fUser(null), fPassword(null), > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:24:43: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fScheme(null), fUser(null), fPassword(null), > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:25:11: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fHost(null), fPort(null), fPath(null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:25:24: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fHost(null), fPort(null), fPath(null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:25:37: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fHost(null), fPort(null), fPath(null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:29:13: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fScheme(null), fUser(null), fPassword(null), > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:29:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fScheme(null), fUser(null), fPassword(null), > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:29:43: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fScheme(null), fUser(null), fPassword(null), > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:30:11: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fHost(null), fPort(null), fPath(null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:30:24: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fHost(null), fPort(null), fPath(null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:30:37: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fHost(null), fPort(null), fPath(null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:38:15: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fScheme = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:39:13: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fUser = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:40:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPassword = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:41:13: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fHost = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:42:13: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPort = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:43:13: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:90:16: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (str != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:93:20: 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) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:101:28: 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) > ^~~~~~~~~~~~~~~~~~~~ >yurl.cc:106:28: 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) > ^~~~~~~~~~~~~~~~~~~~ >15 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmsession.cc >27 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmwinlist.cc >In file included from wmsession.cc:14: >In file included from ./wmframe.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmsession.cc:14: >In file included from ./wmframe.h:7: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmsession.cc:26:14: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > clientId(null), windowRole(null), windowClass(null), windowInstance(null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmsession.cc:26:32: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > clientId(null), windowRole(null), windowClass(null), windowInstance(null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmsession.cc:26:51: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > clientId(null), windowRole(null), windowClass(null), windowInstance(null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmsession.cc:26:73: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > clientId(null), windowRole(null), windowClass(null), windowInstance(null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmsession.cc:31:49: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > clientId(id), windowRole(role), windowClass(null), windowInstance(null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmsession.cc:31:71: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > clientId(id), windowRole(role), windowClass(null), windowInstance(null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmsession.cc:36:30: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > clientId(id), windowRole(null), windowClass(klass), windowInstance(instance) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmsession.cc:92:16: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (cid == null) return false; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmsession.cc:98:44: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (window->key.windowClass != null && > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmsession.cc:99:47: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > window->key.windowInstance != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmsession.cc:101:33: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring klass = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmsession.cc:102:36: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring instance = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmsession.cc:306:24: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (cid != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmsession.cc:310:29: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (role != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmwinlist.cc:10: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(null) {} > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmwinlist.cc:10: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(null) {}; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmwinlist.cc:10: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmwinlist.cc:10: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == null; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmwinlist.cc:10: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmwinlist.cc:11: >In file included from ./wmwinlist.h:6: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmwinlist.cc:12: >./ymenuitem.h:25:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return (fName != null && fHotCharPos >= 0) ? fName.charAt(fHotCh... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmwinlist.cc:12: >./ymenuitem.h:47:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool isSeparator() { return getName() == null && getSubmenu() == 0; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmwinlist.cc:70: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) > ^~~~~~~~~~~~~~~~~~~~ >wmwinlist.cc:295:50: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > closeSubmenu->addItem(_("_Kill Client"), -2, null, actionKill); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmwinlist.cc:303:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > windowListPopup->addItem(_("_Show"), -2, null, actionShow); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmwinlist.cc:305:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > windowListPopup->addItem(_("_Hide"), -2, null, actionHide); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmwinlist.cc:307:50: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > windowListPopup->addItem(_("_Minimize"), -2, null, actionMinimize); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >24 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmtaskbar.cc >In file included from wmtaskbar.cc:14: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(null) {} > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmtaskbar.cc:14: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(null) {}; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmtaskbar.cc:14: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmtaskbar.cc:14: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == null; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmtaskbar.cc:14: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmtaskbar.cc:15: >In file included from ./wmtaskbar.h:8: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmtaskbar.cc:18: >./ymenuitem.h:25:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return (fName != null && fHotCharPos >= 0) ? fName.charAt(fHotCh... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmtaskbar.cc:18: >./ymenuitem.h:47:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool isSeparator() { return getName() == null && getSubmenu() == 0; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtaskbar.cc:85: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:87:23: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (startImage == null || !startImage->valid()) > ^~~~ >17./ref.h:22:15: note: expanded from macro 'null' > warnings generated. >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtaskbar.cc:89: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:91: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:101: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:103: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:105: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:107: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) > ^~~~~~~~~~~~~~~~~~~~ >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmwinmenu.cc >wmtaskbar.cc:357: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:358: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:359: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:360: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:368: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:369: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:370: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:372: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:373: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:374: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:375: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:376: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:379: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:380: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:381: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:382: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:383: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:384: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:385: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:387: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:417:49: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > taskBarMenu->addItem(_("_Refresh"), -2, null, actionRefresh); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtaskbar.cc:455:19: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > mstring s(null), r(null); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtaskbar.cc:455:28: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > mstring s(null), r(null); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtaskbar.cc:510:19: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > mstring s(null), r(null); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtaskbar.cc:510:28: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > mstring s(null), r(null); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtaskbar.cc:552:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (t != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtaskbar.cc:939: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:940: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:952: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:956: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) > ^~~~~~~~~~~~~~~~~~~~ >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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmwinmenu.cc:13: >./ymenuitem.h:25:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return (fName != null && fHotCharPos >= 0) ? fName.charAt(fHotCh... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmwinmenu.cc:13: >./ymenuitem.h:47:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool isSeparator() { return getName() == null && getSubmenu() == 0; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmwinmenu.cc:20: >In file included from ./wmframe.h:7: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmwinmenu.cc:28:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > YMenuItem(frame->getTitle(), -1, null, this, 0), > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmwinmenu.cc:32:37: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fFrame->clientIcon() != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >14 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmdialog.cc >In file included from wmdialog.cc:11: >In file included from ./wmdialog.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmdialog.cc:16: >In file included from ./wmapp.h:6: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmdialog.cc:35:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (whereis != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >11 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmabout.cc >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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmabout.cc:12: >In file included from ./wmabout.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >10 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmswitch.cc >In file included from wmswitch.cc:10: >In file included from ./yimage.h:5: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(null) {} > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmswitch.cc:10: >In file included from ./yimage.h:5: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(null) {}; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmswitch.cc:10: >In file included from ./yimage.h:5: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmswitch.cc:10: >In file included from ./yimage.h:5: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == null; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmswitch.cc:10: >In file included from ./yimage.h:5: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != null; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmswitch.cc:10: >In file included from ./yimage.h:5: >./ypaint.h:168: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:10: >In file included from ./yimage.h:5: >./ypaint.h:251: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:10: >In file included from ./yimage.h:5: >./ypaint.h:255: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:136: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 wmswitch.cc:15: >In file included from ./wmframe.h:7: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./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:84:79: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ...cTitle = fActiveWindow ? fActiveWindow->client()->windowTitle() : null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmswitch.cc:96:39: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > int oWidth = title != null ? (int) switchFont->textWidth... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmswitch.cc:101:28: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > tWidth = cTitle != null ? switchFont->textWidth(cTitle) : 0; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >50 warnings generated. >wmswitch.cc:166: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:167: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:179: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:183: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:200:68: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (!quickSwitchAllIcons && fActiveWindow->clientIcon() != 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:240:23: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (cTitle != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmswitch.cc:291:44: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (frame->clientIcon() != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmswitch.cc:308: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:314: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:353:27: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (cTitle != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmswitch.cc:360:40: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (frame->clientIcon() != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmstatus.cc >In file included from wmstatus.cc:12: >In file included from ./wmstatus.h:6: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmstatus.cc:15: >In file included from ./wmframe.h:7: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmstatus.cc:45: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:61:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring status(null); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmstatus.cc:65: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) > ^~~~~~~~~~~~~~~~~~~~ >13 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmoption.cc >27 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmaction.cc >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmcontainer.cc >In file included from wmoption.cc:10: >In file included from ./wmoption.h:9: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(null) {} > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmoption.cc:10: >In file included from ./wmoption.h:9: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(null) {}; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmoption.cc:10: >In file included from ./wmoption.h:9: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmoption.cc:10: >In file included from ./wmoption.h:9: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == null; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmoption.cc:10: >In file included from ./wmoption.h:9: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmoption.cc:11: >In file included from ./wmframe.h:7: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmcontainer.cc:9wmoption.cc:391:20:: > warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] >In file included from ./wmcontainer.h:4 if (optFile == null) > ^~~~ >: >./ref.h:22:15: note: expanded from macro 'null' >In file included from ./ywindow.h:#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmcontainer.cc:11: >In file included from ./wmframe.h:7: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >11 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmclient.cc >10 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmmgr.cc >In file included from wmclient.cc:8: >In file included from ./wmclient.h:5: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmmgr.cc:8: >In file included from ./wmmgr.h:5: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != null; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmclient.cc:8: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmclient.cc:20:114: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ...*frame, Window win): YWindow(parent, win), fWindowTitle(null), fIconTitl... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmclient.cc:20:132: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ...win): YWindow(parent, win), fWindowTitle(null), fIconTitle(null), fWMWin... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmclient.cc:20:153: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ...win), fWindowTitle(null), fIconTitle(null), fWMWindowRole(null), fWindow... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmclient.cc:20:172: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ...fIconTitle(null), fWMWindowRole(null), fWindowRole(null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmclient.cc:24:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fWindowTitle = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmclient.cc:25:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fIconTitle = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmclient.cc:35:19: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fWindowRole = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmclient.cc:36:21: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fWMWindowRole = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmclient.cc:87:21: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fWMWindowRole = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmclient.cc:88:19: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fWindowRole = 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:168: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:251: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:255: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:136: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) > ^~~~~~~~~~~~~~~~~~~~ >wmclient.cc:593:39: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (title == 0 || fWindowTitle == null || !fWindowTitle.equals(title)) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmclient.cc:600:37: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (title == 0 || fIconTitle == null || !fIconTitle.equals(title)) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmmgr.cc:11: >In file included from ./atray.h:14: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmclient.cc:1542: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) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmmgr.cc:16: >In file included from ./objmenu.h:5: >./ymenuitem.h:25:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return (fName != null && fHotCharPos >= 0) ? fName.charAt(fHotCh... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmmgr.cc:16: >In file included from ./objmenu.h:5: >./ymenuitem.h:47:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool isSeparator() { return getName() == null && getSubmenu() == 0; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmmgr.cc:1293:25: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > WindowOption wo(null); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >23 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmapp.cc >In file included from wmapp.cc:10: >In file included from ./atray.h:13: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmapp.cc:10: >In file included from ./atray.h:14: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmapp.cc:15: >In file included from ./wmprog.h:7: >In file included from ./objmenu.h:5: >./ymenuitem.h:25:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return (fName != null && fHotCharPos >= 0) ? fName.charAt(fHotCh... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmapp.cc:15: >In file included from ./wmprog.h:7: >In file included from ./objmenu.h:5: >./ymenuitem.h:47:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool isSeparator() { return getName() == null && getSubmenu() == 0; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:302:28: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath fonts_dirDir(null); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:304:30: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fonts_dirPath != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:327:29: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fonts_dirDir != null) { // =========================== buil... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:424: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) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:437:57: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ref<YResourcePaths> paths = YResourcePaths::subdirs(null, true); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:557: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:559: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:561: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:36: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(rgbFrameB[0][0] == null)) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >./ypaint.h:36: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(rgbFrameT[0][1] == null)) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >./ypaint.h:36: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(rgbFrameL[0][1] == null)) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >./ypaint.h:36: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(rgbFrameR[0][1] == null)) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >./ypaint.h:36: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(rgbFrameB[0][1] == null)) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >./ypaint.h:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:574: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:576: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:578: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:580: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:582: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:584: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:586: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:588: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:642:27: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (depthPixmap[0]==null) depthPixmap[0] = paths->loadP... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:643:27: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (closePixmap[0]==null) closePixmap[0] = paths->loadP... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:644:30: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (maximizePixmap[0]==null) maximizePixmap[0] = paths->loadP... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:645:30: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (minimizePixmap[0]==null) minimizePixmap[0] = paths->loadP... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:646:29: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (restorePixmap[0]==null) restorePixmap[0] = paths->loadP... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:647:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (hidePixmap[0]==null) hidePixmap[0] = paths->loadP... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:648:28: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (rollupPixmap[0]==null) rollupPixmap[0] = paths->loadP... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:649:30: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (rolldownPixmap[0]==null) rolldownPixmap[0] = paths->loadP... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:652: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:654: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:36: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(menubackPixbuf == null)) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >./ypaint.h:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:658: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:660: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:664: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:665:66: 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:668: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:669:70: 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:671: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:672:66: 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:674: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:675:66: 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:679: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:681:64: 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: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:37:45: note: expanded from macro 'IF_CONFIG_GRADIENTS' >#define IF_CONFIG_GRADIENTS(Cond, Stmt) if (Cond) { Stmt; } > ^~~~ >wmapp.cc:687: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:689:69: 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:691: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:37:45: note: expanded from macro 'IF_CONFIG_GRADIENTS' >#define IF_CONFIG_GRADIENTS(Cond, Stmt) if (Cond) { Stmt; } > ^~~~ >wmapp.cc:695: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmapp.cc:697:73: 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:699: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:37:45: note: expanded from macro 'IF_CONFIG_GRADIENTS' >#define IF_CONFIG_GRADIENTS(Cond, Stmt) if (Cond) { Stmt; } > ^~~~ >wmapp.cc:705: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:709: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:714: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:718: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:720: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:724: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:730: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:735: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:737: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:758:51: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > logoutMenu->addItem(_("_Logout"), -2, null, actionLogout)->s... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:759:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > logoutMenu->addItem(_("_Cancel logout"), -2, null, actionCan... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:771:65: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > logoutMenu->addItem(_("Lock _Workstation"), -2, null, ac... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:773:55: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > logoutMenu->addItem(_("Re_boot"), -2, null, actionReboot); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:775:57: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > logoutMenu->addItem(_("Shut_down"), -2, null, actionShutdown); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:779:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > logoutMenu->addItem(_("Restart _Icewm"), -2, null, actionRestart); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:782:82: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ...smActionListener, _("Restart _Xterm"), null, true, 0, "xterm", noargs); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:797:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > layerMenu->addItem(_("_Menu"), -2, null, layerActionSet[WinLay... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:798:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > layerMenu->addItem(_("_Above Dock"), -2, null, layerActionSet[WinLay... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:799:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > layerMenu->addItem(_("_Dock"), -2, null, layerActionSet[WinLay... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:800:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > layerMenu->addItem(_("_OnTop"), -2, null, layerActionSet[WinLay... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:801:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > layerMenu->addItem(_("_Normal"), -2, null, layerActionSet[WinLay... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:802:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > layerMenu->addItem(_("_Below"), -2, null, layerActionSet[WinLay... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:803:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > layerMenu->addItem(_("D_esktop"), -2, null, layerActionSet[WinLay... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:811:33: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > moveMenu->addItem(s, 0, null, workspaceActionMoveTo[w]); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:859:50: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > windowMenu->addItem(_("Tray _icon"), -2, null, actionToggleTray); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:1242:23: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (winOptFile == null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:1246:21: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (keysFile == null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:1258:23: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (winOptFile != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:1260:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > winOptFile = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:1264:21: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (keysFile != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmapp.cc:1426: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:1427: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:1428: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:1429: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:1430: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:1431: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:1432: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:1433: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:1434: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:1435: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:1436: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:1437: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:1438: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:1441: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:1442: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:1443: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:1448: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:1449: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) > ^~~~~~~~~~~~~~~~~~~~ >13 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmframe.cc >In file included from wmframe.cc:9: >In file included from ./wmframe.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmframe.cc:9: >In file included from ./wmframe.h:7: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:103:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fFrameIcon = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:269:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fFrameIcon = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:1940:34: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if ((frameT[t][n] != null || TEST_GRADIENT(rgbFrameT[t][n] !... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:1940: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmframe.cc:1941:34: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > (frameL[t][n] != null || TEST_GRADIENT(rgbFrameL[t][n] !... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:1941: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmframe.cc:1942:34: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > (frameR[t][n] != null || TEST_GRADIENT(rgbFrameR[t][n] !... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:1942: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmframe.cc:1943:34: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > (frameB[t][n] != null || TEST_GRADIENT(rgbFrameB[t][n] !... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:1943: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:36:30: note: expanded from macro 'TEST_GRADIENT' >#define TEST_GRADIENT(Cond) (Cond) > ^~~~ >wmframe.cc:1944: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:1944: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:1945: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:1945: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:1981:41: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (frameT[t][n] != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:1991: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:2000: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:2010: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:2227:21: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > WindowOption wo(null); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2267:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (klass != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2268:21: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (name != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2274:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (name != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2275:21: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (role != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2281:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (role != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2283:34: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > list->mergeWindowOption(opt, null, remove); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2289:21: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > WindowOption wo(null); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2313:25: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ref<YImage> small = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2314:25: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ref<YImage> large = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2315:24: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ref<YImage> huge = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2318: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) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2375: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:2386:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > } else if (w <= YIcon::hugeSize() || huge == null || huge->w... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2394:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (small != null || large != null || huge != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2394:35: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (small != null || large != null || huge != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2394:51: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (small != null || large != null || huge != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2432:73: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (e[0] == sizes[i] && e[0] == e[1] && icons[i] == null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2448:28: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (largestIcon != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2450:19: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (icons[i] == null && sizes[i] < largestIconSize) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2488:23: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fFrameIcon != null && !(fFrameIcon->small() != null || fFrameIco... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2488:56: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fFrameIcon != null && !(fFrameIcon->small() != null || fFrameIco... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2488:87: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ...null && !(fFrameIcon->small() != null || fFrameIcon->large() != null)) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2489:22: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fFrameIcon = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:2492:23: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fFrameIcon == null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmframe.cc:3310:35: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (f->getClientIcon() != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >54 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmbutton.cc >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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmbutton.cc:13: >In file included from ./wmframe.h:7: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./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:161:53: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > (fAction == 0) ? getFrame()->clientIcon() : null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmbutton.cc:165:19: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (pixmap == null) pixmap = getPixmap(0); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmbutton.cc:178: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:186: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:229: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:235: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:254: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:265: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:276: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:277:34: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if ( getPixmap(1) != null ) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmbutton.cc:294: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) > ^~~~~~~~~~~~~~~~~~~~ >22 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmminiicon.cc >In file included from wmminiicon.cc:11: >In file included from ./wmminiicon.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmminiicon.cc:13: >In file included from ./wmframe.h:7: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./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:37: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (getFrame()->clientIcon() != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmminiicon.cc:82:16: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (str == null || str.length() == 0) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmminiicon.cc:85:16: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (str != 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) > ^~~~~~~~~~~~~~~~~~~~ >15 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmtitle.cc >In file included from wmtitle.cc:9: >In file included from ./wmtitle.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 wmtitle.cc:11: >In file included from ./wmframe.h:7: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./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:184:25: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > int tlen = title != null ? titleFont->textWidth(title) : 0; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtitle.cc:218:25: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > int tlen = title != null ? titleFont->textWidth(title) : 0; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtitle.cc:284: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:289: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:294: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:295:45: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > lRight(onRight - (titleM[pi] != null ? (int)titleM[pi]->widt... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtitle.cc:306: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:314: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:320: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:324: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:331: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:338: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:345: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:355: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:361: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:363: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:373:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (title != null && tlen) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtitle.cc:402:35: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (pixmap != null && b->getPixmap(1) != null ) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtitle.cc:402:62: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (pixmap != null && b->getPixmap(1) != null ) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtitle.cc:419:36: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if ( pixmap != null && b->getPixmap(1) != null ) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtitle.cc:419:63: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if ( pixmap != null && b->getPixmap(1) != null ) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtitle.cc:433:29: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > int tlen = title != null ? titleFont->textWidth(title) : 0; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtitle.cc:439: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:444: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:449: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:450:45: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > lRight(onRight - (titleM[pi] != null ? (int)titleM[pi]->widt... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmtitle.cc:459: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:464: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:468: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:473: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:478: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:483: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:485: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) > ^~~~~~~~~~~~~~~~~~~~ >111 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c movesize.cc >In file included from movesize.cc:10: >In file included from ./wmframe.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 movesize.cc:10: >In file included from ./wmframe.h:7: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >44 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c themes.cc >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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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:9: >In file included from ./themes.h:6: >In file included from ./objmenu.h:5: >./ymenuitem.h:25:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return (fName != null && fHotCharPos >= 0) ? fName.charAt(fHotCh... > ^~~~ >./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:5: >./ymenuitem.h:47:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool isSeparator() { return getName() == null && getSubmenu() == 0; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >10 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c decorate.cc >In file included from themes.cc:21: >In file included from ./wmapp.h:6: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./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 >themes.cc:39:25: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > DObject(app, label, null), fTheme(theme) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >themes.cc:49:19: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fTheme == null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >themes.cc:183:74: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ...YMenuItem *smItem = new YMenuItem(smname, 0, null, NULL, smenu); > ^~~~ >./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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 decorate.cc:8: >In file included from ./wmframe.h:7: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from decorate.cc:15: >./ymenuitem.h:25:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return (fName != null && fHotCharPos >= 0) ? fName.charAt(fHotCh... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from decorate.cc:15: >./ymenuitem.h:47:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool isSeparator() { return getName() == null && getSubmenu() == 0; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >decorate.cc:234:44: 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:236:39: 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:237:38: 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:239:39: 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:240:44: 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:242:39: 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:243:38: 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:245:39: 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:247:34: 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:256:34: 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:265:34: 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:274:34: 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:284:33: 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:288:33: 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:292:33: 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:296:33: 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:377:64: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > showFrameIcon) || b->getPixmap(0) == null ? > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >decorate.cc:384:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > const unsigned bw(b->getPixmap(0) != null ? b->getPixmap(0)->wid... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >decorate.cc:461: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:487: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) > ^~~~~~~~~~~~~~~~~~~~ >16 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c browse.cc >In file included from browse.cc:11: >In file included from ./obj.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 browse.cc:12: >In file included from ./objmenu.h:5: >./ymenuitem.h:25:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return (fName != null && fHotCharPos >= 0) ? fName.charAt(fHotCh... > ^~~~ >./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:5: >./ymenuitem.h:47:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool isSeparator() { return getName() == null && getSubmenu() == 0; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >browse.cc:65:57: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > DFile *pfile = new DFile(app, name, null, npath); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >browse.cc:70:37: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (file == null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >browse.cc:72:39: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (folder == null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >browse.cc:78:43: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (folder != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >browse.cc:81:41: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (file != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >32 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c wmprog.cc >16 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c atasks.cc >In file included from atasks.cc:7: >In file included from ./atasks.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:168: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:251: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:255: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:136: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 wmprog.cc:13: >In file included from ./objmenu.h:5: >./ymenuitem.h:25:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return (fName != null && fHotCharPos >= 0) ? fName.charAt(fHotCh... > ^~~~ >./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:5: >./ymenuitem.h:47:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool isSeparator() { return getName() == null && getSubmenu() == 0; } > ^~~~ >./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:136: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 atasks.cc:7: >In file included from ./atasks.h:5: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from wmprog.cc:22: >In file included from ./wmapp.h:6: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:36:38: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > YMenuItem(object->getName(), -3, null, this, 0) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:40:30: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (object->getIcon() != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:96:29: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (item && icon != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:109:13: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fIcon = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:159:16: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (exe != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:162:25: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fullname == null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:246:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (path != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:410:33: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fullPath != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:452:33: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fullPath != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:497:21: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > null, > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:589:38: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (!autoReloadMenus && fPath != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:596:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fPath == null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:600:19: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (np == null || np.equals(fPath)) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:604:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > np = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:607:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fPath == null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:624:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fPath != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:741:21: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fCommand != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:822:45: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > DFile *file = new DFile(app, p, null, p); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:827:31: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (folder != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:892:13: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > null, > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >wmprog.cc:942:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > addItem(_("_Logout..."), -2, null, actionLogout); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >atasks.cc:197: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:201: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:211:43: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (taskBarShowWindowIcons && icon != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >atasks.cc:221:16: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (str == null || str.length() == 0) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >atasks.cc:224:16: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (str != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >atasks.cc:228: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:235:51: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (taskBarShowWindowIcons && icon != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >atasks.cc:497: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:501: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) > ^~~~~~~~~~~~~~~~~~~~ >19 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c aworkspaces.cc >In file included from aworkspaces.cc:6: >In file included from ./aworkspaces.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 aworkspaces.cc:7: >In file included from ./wmtaskbar.h:8: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >aworkspaces.cc:119:61: warning: binding dereferenced null pointer to reference > has undefined behavior [-Wnull-dereference] > ref<YResourcePaths> paths = YResourcePaths::subdirs(null, false); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >aworkspaces.cc:133:34: 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:203: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:208: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) > ^~~~~~~~~~~~~~~~~~~~ >aworkspaces.cc:319:83: warning: binding dereferenced null pointer to reference > has undefined behavior [-Wnull-dereference] > ...wh > smallIconSize+1 && (icon = yfw->clientIcon()) != null && > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >aworkspaces.cc:320:46: warning: binding dereferenced null pointer to reference > has undefined behavior [-Wnull-dereference] > icon->small() != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >33 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c amailbox.cc >In file included from amailbox.cc:15: >In file included from ./amailbox.h:6: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 amailbox.cc:20: >In file included from ./wmapp.h:6: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >amailbox.cc:49:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fURL != null && fURL->scheme() != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >amailbox.cc:49:43: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fURL != null && fURL->scheme() != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >amailbox.cc:60:39: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > htons(fURL->port() != null? atoi(cstring(fURL->port()).c_str()) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/netinet/in.h:120:26: note: expanded from macro 'htons' >#define htons(x) __htons(x) > ^ >/usr/include/x86/endian.h:129:30: note: expanded from macro '__htons' >#define __htons(x) __bswap16(x) > ^ >/usr/include/x86/endian.h:76:37: note: expanded from macro '__bswap16' > ((__uint16_t)(__builtin_constant_p(x) ? \ > ^ >amailbox.cc:60:39: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > htons(fURL->port() != null? atoi(cstring(fURL->port()).c_str()) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >/usr/include/netinet/in.h:120:26: note: expanded from macro 'htons' >#define htons(x) __htons(x) > ^ >/usr/include/x86/endian.h:129:30: note: expanded from macro '__htons' >#define __htons(x) __bswap16(x) > ^ >/usr/include/x86/endian.h:77:53: note: expanded from macro '__bswap16' > __bswap16_gen((__uint16_t)(x)) : __bswap16_var(x))) > ^ >amailbox.cc:63:33: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fURL->host() != null) { /// !!! fix, need nonblocking resolve > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >amailbox.cc:123:29: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fURL->path() == null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >amailbox.cc:275:53: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > (fURL->path() == null || fURL->path()... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >amailbox.cc:283:53: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > (fURL->path() == null || fURL->path()... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >amailbox.cc:341:21: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fMailBox != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >amailbox.cc:383: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:387: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:391: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:399: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) > ^~~~~~~~~~~~~~~~~~~~ >16 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c aclock.cc >In file included from aclock.cc:15: >In file included from ./aclock.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 aclock.cc:16: >In file included from ./wmtaskbar.h:8: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >aclock.cc:51: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:200: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:205: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:223: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:308: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:325: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) > ^~~~~~~~~~~~~~~~~~~~ >23 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c acpustatus.cc >16 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c apppstatus.cc >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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 acpustatus.cc:22: >In file included from ./wmapp.h:6: >In file included from ./ymsgbox.h:4: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >acpustatus.cc:196:33: 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) > ^~~~~~~~~~~~~~~~~~~~ >acpustatus.cc:201:43: 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) > ^~~~~~~~~~~~~~~~~~~~ >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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 apppstatus.cc:21: >In file included from ./wmtaskbar.h:8: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >apppstatus.cc:274:37: 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) > ^~~~~~~~~~~~~~~~~~~~ >apppstatus.cc:279:47: 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) > ^~~~~~~~~~~~~~~~~~~~ >12 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c aaddressbar.cc >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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != null; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >12 warnings generated. >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:168: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:251: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:255: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:136: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) > ^~~~~~~~~~~~~~~~~~~~ >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c objbar.cc >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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 objbar.cc:9: >In file included from ./objmenu.h:5: >./ymenuitem.h:25:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return (fName != null && fHotCharPos >= 0) ? fName.charAt(fHotCh... > ^~~~ >./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:5: >./ymenuitem.h:47:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool isSeparator() { return getName() == null && getSubmenu() == 0; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >9 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c aapm.cc >In file included from objbar.cc:17: >In file included from ./wmtaskbar.h:8: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >objbar.cc:46: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) > ^~~~~~~~~~~~~~~~~~~~ >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) > ^~~~~~~~~~~~~~~~~~~~ >In file included from aapm.cc:14: >In file included from ./aapm.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(null) {} > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from aapm.cc:14: >In file included from ./aapm.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(null) {}; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from aapm.cc:14: >In file included from ./aapm.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from aapm.cc:14: >In file included from ./aapm.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == null; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from aapm.cc:14: >In file included from ./aapm.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != null; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from aapm.cc:14: >In file included from ./aapm.h:4: >In file included from ./ywindow.h:4: >./ypaint.h:168: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 aapm.cc:14: >In file included from ./aapm.h:4: >In file included from ./ywindow.h:4: >./ypaint.h:251: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 aapm.cc:14: >In file included from ./aapm.h:4: >In file included from ./ywindow.h:4: >./ypaint.h:255: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 aapm.cc:14: >In file included from ./aapm.h:4: >./ywindow.h:136: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) > ^~~~~~~~~~~~~~~~~~~~ >aapm.cc:308:13: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > else if (i = 0) > ~~^~~ >aapm.cc:308:13: note: place parentheses around the assignment to silence this > warning > else if (i = 0) > ^ > ( ) >aapm.cc:308:13: note: use '==' to turn this assignment into an equality > comparison > else if (i = 0) > ^ > == >aapm.cc:1009:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (apmFont == null) apmFont = YFont::getFont(XFA(apmFontName)); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >aapm.cc:1126: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) > ^~~~~~~~~~~~~~~~~~~~ >aapm.cc:1131: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) > ^~~~~~~~~~~~~~~~~~~~ >aapm.cc:1173: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) > ^~~~~~~~~~~~~~~~~~~~ >aapm.cc:1233:28: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return (apmFont != null ? apmFont->textWidth(s, count) : 0) + 4; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >aapm.cc:1239: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) > ^~~~~~~~~~~~~~~~~~~~ >16 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c atray.cc >In file included from atray.cc:21: >In file included from ./atray.h:13: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 atray.cc:21: >In file included from ./atray.h:14: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./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:169: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) > ^~~~~~~~~~~~~~~~~~~~ >atray.cc:385:63: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ref<YImage> 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. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c ysmapp.cc >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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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) > ^~~~~~~~~~~~~~~~~~~~ >22 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c yxtray.cc >9 warnings generated. >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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != null; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c ymenu.cc >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:168: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:251: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:255: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:136: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 yxtray.cc:8: >In file included from ./wmtaskbar.h:8: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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:12: >./ymenuitem.h:25:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return (fName != null && fHotCharPos >= 0) ? fName.charAt(fHotCh... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from ymenu.cc:12: >./ymenuitem.h:47:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool isSeparator() { return getName() == null && getSubmenu() == 0; } > ^~~~ >./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:59: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:96: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:156: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:454:25: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (menuFont != null) { // ================ autoscrolling of lar... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenu.cc:617:48: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return add(new YMenuItem(name, hotCharPos, null, action, submenu)); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenu.cc:621:48: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return add(new YMenuItem(name, hotCharPos, null, 0, submenu)); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenu.cc:645:32: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (item->getName() == null || fItems[i]->getName() == null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenu.cc:645:64: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (item->getName() == null || fItems[i]->getName() == null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenu.cc:675:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (name != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenu.cc:678:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (iname != null && iname.equals(name)) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenu.cc:691:27: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (iLetterRef != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenu.cc:824: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:825: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:859: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:863: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:873: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:884: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:925:29: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (mitem->getName() == null && mitem->getSubmenu() == 0) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenu.cc:943: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:947: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:1018: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) > ^~~~~~~~~~~~~~~~~~~~ >ymenu.cc:1028:29: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (name != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenu.cc:1030:35: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > (param != null ? paramPos - delta > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenu.cc:1051:30: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (param != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >10 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c ylabel.cc >In file included from ylabel.cc:10: >In file included from ./ylabel.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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 ylabel.cc:11: >In file included from ./ydialog.h:4: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ylabel.cc:25: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:63: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ref<YImage> 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) > ^~~~~~~~~~~~~~~~~~~~ >ylabel.cc:53:19: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fLabel != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ylabel.cc:57:19: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring s(null), r(null); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ylabel.cc:57:28: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring s(null), r(null); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ylabel.cc:77:19: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fLabel != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ylabel.cc:79:19: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring s(null), r(null); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ylabel.cc:79:28: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring s(null), r(null); > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >20 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c yscrollview.cc >In file included from yscrollview.cc:10: >In file included from ./yscrollview.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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) > ^~~~~~~~~~~~~~~~~~~~ >9 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c ymenuitem.cc >36 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c yscrollbar.cc >In file included from ymenuitem.cc:8: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(null) {} > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from ymenuitem.cc:8: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(null) {}; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from ymenuitem.cc:8: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from ymenuitem.cc:8: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == null; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from ymenuitem.cc:8: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to referenceIn file included from has > undefined behavior [-Wnull-dereference] >ymenuitem.cc:9: >./ymenuitem.h:25:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != null; } > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) return (fName != null && fHotCharPos >= 0) ? fName.charAt(fHotCh... > ^~~~ > > ^~~~~~~~~~~~~~~~~~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >In file included from ymenuitem.cc:9: >./ymenuitem.h:47:46: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool isSeparator() { return getName() == null && getSubmenu() == 0; } > ^~~~ >./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:136: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:29:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fName != null && (fHotCharPos == -2 || fHotCharPos == -3)) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenuitem.cc:48:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fName == null || fHotCharPos >= fName.length() || fHotCharPos < -1) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenuitem.cc:53:25: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fName(name), fParam(null), fAction(NULL), fHotCharPos (-1), > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenuitem.cc:54: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:58:11: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fName(null), fParam(null), fAction(0), fHotCharPos(-1), > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenuitem.cc:58:25: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fName(null), fParam(null), fAction(0), fHotCharPos(-1), > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenuitem.cc:59: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:22: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (getName() != null || getSubmenu()) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenuitem.cc:126:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return icon != null ? YIcon::menuSize(): 0; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenuitem.cc:132:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return name != null ? menuFont->textWidth(name) : 0; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ymenuitem.cc:137:22: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > return param != null ? menuFont->textWidth(param) : 0; > ^~~~ >./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:168: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:251: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:255: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:136: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) > ^~~~~~~~~~~~~~~~~~~~ >23 warnings generated. >/usr/local/bin/clang++60 -fno-rtti -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/share/icewm"' -DCFGDIR='"/usr/local/share/icewm"' -DLOCDIR='"/usr/local/share/locale"' -DKDEDIR='""' -DPACKAGE='"icewm"' -DVERSION='"1.3.8"' -DHOSTOS='"FreeBSD 12.0-CURRENT"' -DHOSTCPU='"amd64"' -DEXEEXT='""' -DICEWMEXE='"icewm"' -DICEWMTRAYEXE='"icewmtray"' -DICEWMBGEXE='"icewmbg"' -DICESMEXE='"icewm-session"' -DICEHELPEXE='"icehelp"' -DICEHELPIDX='"/usr/local/share/doc/icewm/icewm.html"' `pkg-config gdk-pixbuf-xlib-2.0 --cflags` -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/libpng16 -c ybutton.cc >In file included from ybutton.cc:9: >In file included from ./ybutton.h:4: >In file included from ./ywindow.h:4: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:10:42: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(const class null_ref &): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:13:20: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > upath(): fPath(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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:33:17: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fPath = 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:37:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator==(const class null_ref &) const { return fPath == 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: >In file included from ./ypaint.h:6: >In file included from ./ypixmap.h:6: >./upath.h:38:69: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > bool operator!=(const class null_ref &) const { return fPath != 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:168: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:251: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:255: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:136: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:18: >./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 >In file included from ybutton.cc:19: >In file included from ./wmtaskbar.h:8: >./wmclient.h:174:58: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > ustring windowRole() const { return fWMWindowRole != null ? fWMWindo... > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ybutton.cc:43:11: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fIcon(null), > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ybutton.cc:45:12: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fImage(null), > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ybutton.cc:46:11: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fText(null), > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ybutton.cc:55: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:57: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:84:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fIcon != null) > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ybutton.cc:91: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:95:23: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > else if (fText != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ybutton.cc:161:15: error: non-constant-expression cannot be narrowed from type > 'int' to 'short' in initializer list [-Wc++11-narrowing] > { (int)dp, (int)dp, (int)width() - ds, 1 }, > ^~~~~~~ >ybutton.cc:161:15: note: insert an explicit cast to silence this issue > { (int)dp, (int)dp, (int)width() - ds, 1 }, > ^~~~~~~ > static_cast<short>( ) >ybutton.cc:161:24: error: non-constant-expression cannot be narrowed from type > 'int' to 'short' in initializer list [-Wc++11-narrowing] > { (int)dp, (int)dp, (int)width() - ds, 1 }, > ^~~~~~~ >ybutton.cc:161:24: note: insert an explicit cast to silence this issue > { (int)dp, (int)dp, (int)width() - ds, 1 }, > ^~~~~~~ > static_cast<short>( ) >ybutton.cc:161:33: error: non-constant-expression cannot be narrowed from type > 'int' to 'unsigned short' in initializer list [-Wc++11-narrowing] > { (int)dp, (int)dp, (int)width() - ds, 1 }, > ^~~~~~~~~~~~~~~~~ >ybutton.cc:161:33: note: insert an explicit cast to silence this issue > { (int)dp, (int)dp, (int)width() - ds, 1 }, > ^~~~~~~~~~~~~~~~~ > static_cast<unsigned short>( ) >ybutton.cc:162:15: error: non-constant-expression cannot be narrowed from type > 'int' to 'short' in initializer list [-Wc++11-narrowing] > { (int)dp, (int)dp + 1, 1, (int)height() - ds - 2 }, > ^~~~~~~ >ybutton.cc:162:15: note: insert an explicit cast to silence this issue > { (int)dp, (int)dp + 1, 1, (int)height() - ds - 2 }, > ^~~~~~~ > static_cast<short>( ) >ybutton.cc:162:24: error: non-constant-expression cannot be narrowed from type > 'int' to 'short' in initializer list [-Wc++11-narrowing] > { (int)dp, (int)dp + 1, 1, (int)height() - ds - 2 }, > ^~~~~~~~~~~ >ybutton.cc:162:24: note: insert an explicit cast to silence this issue > { (int)dp, (int)dp + 1, 1, (int)height() - ds - 2 }, > ^~~~~~~~~~~ > static_cast<short>( ) >ybutton.cc:162:40: error: non-constant-expression cannot be narrowed from type > 'int' to 'unsigned short' in initializer list [-Wc++11-narrowing] > { (int)dp, (int)dp + 1, 1, (int)height() - ds - 2 }, > ^~~~~~~~~~~~~~~~~~~~~~ >ybutton.cc:162:40: note: insert an explicit cast to silence this issue > { (int)dp, (int)dp + 1, 1, (int)height() - ds - 2 }, > ^~~~~~~~~~~~~~~~~~~~~~ > static_cast<unsigned short>( ) >ybutton.cc:163:15: error: non-constant-expression cannot be narrowed from type > 'int' to 'short' in initializer list [-Wc++11-narrowing] > { (int)dp + width() - ds - 1, (int)dp + 1, 1, (int)height() ... > ^~~~~~~~~~~~~~~~~~~~~~~~~~ >ybutton.cc:163:15: note: insert an explicit cast to silence this issue > { (int)dp + width() - ds - 1, (int)dp + 1, 1, (int)height() ... > ^~~~~~~~~~~~~~~~~~~~~~~~~~ > static_cast<short>( ) >ybutton.cc:163:43: error: non-constant-expression cannot be narrowed from type > 'int' to 'short' in initializer list [-Wc++11-narrowing] > { (int)dp + width() - ds - 1, (int)dp + 1, 1, (int)height() ... > ^~~~~~~~~~~ >ybutton.cc:163:43: note: insert an explicit cast to silence this issue > { (int)dp + width() - ds - 1, (int)dp + 1, 1, (int)height() ... > ^~~~~~~~~~~ > static_cast<short>( ) >ybutton.cc:163:59: error: non-constant-expression cannot be narrowed from type > 'int' to 'unsigned short' in initializer list [-Wc++11-narrowing] > ...{ (int)dp + width() - ds - 1, (int)dp + 1, 1, (int)height() - ds - 2 }, > ^~~~~~~~~~~~~~~~~~~~~~ >ybutton.cc:163:59: note: insert an explicit cast to silence this issue > ...+ width() - ds - 1, (int)dp + 1, 1, (int)height() - ds - 2 }, > ^~~~~~~~~~~~~~~~~~~~~~ > static_cast<unsigned short>( ) >ybutton.cc:164:15: error: non-constant-expression cannot be narrowed from type > 'int' to 'short' in initializer list [-Wc++11-narrowing] > { (int)dp, (int)dp + height() - ds - 1, (int)width() - ds, 1 } > ^~~~~~~ >ybutton.cc:164:15: note: insert an explicit cast to silence this issue > { (int)dp, (int)dp + height() - ds - 1, (int)width() - ds, 1 } > ^~~~~~~ > static_cast<short>( ) >ybutton.cc:164:24: error: non-constant-expression cannot be narrowed from type > 'int' to 'short' in initializer list [-Wc++11-narrowing] > { (int)dp, (int)dp + height() - ds - 1, (int)width() - ds, 1 } > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >ybutton.cc:164:24: note: insert an explicit cast to silence this issue > { (int)dp, (int)dp + height() - ds - 1, (int)width() - ds, 1 } > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > static_cast<short>( ) >ybutton.cc:164:53: error: non-constant-expression cannot be narrowed from type > 'int' to 'unsigned short' in initializer list [-Wc++11-narrowing] > { (int)dp, (int)dp + height() - ds - 1, (int)width() - ds, 1 } > ^~~~~~~~~~~~~~~~~ >ybutton.cc:164:53: note: insert an explicit cast to silence this issue > ...{ (int)dp, (int)dp + height() - ds - 1, (int)width() - ds, 1 } > ^~~~~~~~~~~~~~~~~ > static_cast<unsigned short>( ) >ybutton.cc:167:20: error: expected expression > static_cast<int>( ) > ^ >ybutton.cc:333:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fIcon != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ybutton.cc:335:26: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > } else if (fImage != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ybutton.cc:338:25: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > } else if (fText != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ybutton.cc:349:14: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fImage = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ybutton.cc:357:13: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > fIcon = null; > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >ybutton.cc:369:18: warning: binding dereferenced null pointer to reference has > undefined behavior [-Wnull-dereference] > if (fText != null) { > ^~~~ >./ref.h:22:15: note: expanded from macro 'null' >#define null (*(class null_ref *)0) > ^~~~~~~~~~~~~~~~~~~~ >25 warnings and 13 errors generated. >9 warnings generated. >gmake[2]: *** [Makefile:206: ybutton.o] Error 1 >gmake[2]: *** Waiting for unfinished jobs.... >gmake[2]: Leaving directory '/usr/ports/x11-wm/icewm/work/icewm-1.3.8/src' >gmake[1]: *** [Makefile:51: base] Error 2 >gmake[1]: Leaving directory '/usr/ports/x11-wm/icewm/work/icewm-1.3.8' >===> Compilation failed unexpectedly. >Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to >the maintainer. >*** Error code 1 > >Stop. >make: stopped in /usr/ports/x11-wm/icewm >root@12current:/usr/ports/x11-wm/icewm # exit > >exit > >Script done on Fri May 25 19:21:31 2018
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 228317
:
193482
|
193483
|
193659
|
193660
|
193678
|
193703
|
194007
| 194008