Date: Fri, 26 Jan 2018 17:28:57 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460011 - head/devel/sfml/files Message-ID: <201801261728.w0QHSv5N087977@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Fri Jan 26 17:28:57 2018 New Revision: 460011 URL: https://svnweb.freebsd.org/changeset/ports/460011 Log: devel/sfml: unbreak build with Clang 6 (C++14 by default) src/SFML/Window/Unix/WindowImplX11.cpp:1278:36: error: reinterpret_cast from 'nullptr_t' to 'void *' is not allowed reinterpret_cast<void*>(NULL)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reported by: pkg-fallout (blocks 3 ports) Approved by: portmgr blanket Added: head/devel/sfml/files/patch-src_SFML_Window_Unix_WindowImplX11.cpp (contents, props changed) Added: head/devel/sfml/files/patch-src_SFML_Window_Unix_WindowImplX11.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/sfml/files/patch-src_SFML_Window_Unix_WindowImplX11.cpp Fri Jan 26 17:28:57 2018 (r460011) @@ -0,0 +1,15 @@ +src/SFML/Window/Unix/WindowImplX11.cpp:1278:36: error: reinterpret_cast from 'nullptr_t' to 'void *' is not allowed + reinterpret_cast<void*>(NULL)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +--- src/SFML/Window/Unix/WindowImplX11.cpp.orig 2017-02-08 11:29:16 UTC ++++ src/SFML/Window/Unix/WindowImplX11.cpp +@@ -1275,7 +1275,7 @@ void WindowImplX11::initialize() + m_window, + XNInputStyle, + XIMPreeditNothing | XIMStatusNothing, +- reinterpret_cast<void*>(NULL)); ++ static_cast<void*>(NULL)); + } + else + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801261728.w0QHSv5N087977>