Date: Sat, 25 Aug 2018 05:12:35 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478002 - head/emulators/fceux Message-ID: <201808250512.w7P5CZ1j052604@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Sat Aug 25 05:12:35 2018 New Revision: 478002 URL: https://svnweb.freebsd.org/changeset/ports/478002 Log: emulators/fceux: Fix build with Clang 6 src/utils/xstring.cpp:234:5: error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned char' in initializer list [-Wc++11-narrowing] n<2 ? '=' : Base64Table[ ((input[1] & 0x0F) << 2) | (input[2] >> 6) ], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/fceux-2.2.3_4.log Modified: head/emulators/fceux/Makefile Modified: head/emulators/fceux/Makefile ============================================================================== --- head/emulators/fceux/Makefile Sat Aug 25 05:00:37 2018 (r478001) +++ head/emulators/fceux/Makefile Sat Aug 25 05:12:35 2018 (r478002) @@ -22,6 +22,9 @@ USES= compiler:c++0x desktop-file-utils dos2unix loca USE_SDL= sdl USE_XORG= x11 +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing + OPTIONS_DEFINE= CREATE_AVI DEBUG DOCS FRAMESKIP LOGO LUA OPENGL OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= GTK2 GTK3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808250512.w7P5CZ1j052604>