Date: Sun, 18 Mar 2018 20:00:55 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 226708] x11-wm/blackbox patch for lib/EWMH.cc on base/head r331098 Message-ID: <bug-226708-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226708 Bug ID: 226708 Summary: x11-wm/blackbox patch for lib/EWMH.cc on base/head r331098 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: Trond.Endrestol@ximalas.info CC: A.J.Caines@halplant.com Flags: maintainer-feedback?(A.J.Caines@halplant.com) CC: A.J.Caines@halplant.com Created attachment 191611 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D191611&action= =3Dedit Patch for lib/EWMH.cc to be placed in the files directory --- EWMH.lo --- EWMH.cc:250:7: error: non-constant-expression cannot be narrowed from type 'long' to 'unsigned long' in initializer list [-Wc++11-narrowing] { static_cast<long>(x), static_cast<long>(y) }; ^~~~~~~~~~~~~~~~~~~~ EWMH.cc:250:7: note: insert an explicit cast to silence this issue { static_cast<long>(x), static_cast<long>(y) }; ^~~~~~~~~~~~~~~~~~~~ static_cast<unsigned long>( ) EWMH.cc:250:29: error: non-constant-expression cannot be narrowed from type 'long' to 'unsigned long' in initializer list [-Wc++11-narrowing] { static_cast<long>(x), static_cast<long>(y) }; ^~~~~~~~~~~~~~~~~~~~ EWMH.cc:250:29: note: insert an explicit cast to silence this issue { static_cast<long>(x), static_cast<long>(y) }; ^~~~~~~~~~~~~~~~~~~~ static_cast<unsigned long>( ) 2 errors generated. *** [EWMH.lo] Error code 1 make[3]: stopped in /construction/xports/x11-wm/blackbox/work/blackbox-0.70.1/lib Attached patch silences these error messages. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226708-13>