Date: Sat, 25 Aug 2018 13:54:31 +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: r478040 - head/x11-toolkits/v Message-ID: <201808251354.w7PDsVLD025531@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Sat Aug 25 13:54:30 2018 New Revision: 478040 URL: https://svnweb.freebsd.org/changeset/ports/478040 Log: x11-toolkits/v: Fix build with Clang 6 vchkboxc.cxx:43:4: error: constant expression evaluates to 255 which cannot be narrowed to type 'char' [-Wc++11-narrowing] 0xff, 0x0f, 0x03, 0x0c, 0x05, 0x0a, 0x09, 0x09, 0x91, 0x08, 0x61, 0x08, ^~~~ vchkboxc.cxx:43:4: note: insert an explicit cast to silence this issue 0xff, 0x0f, 0x03, 0x0c, 0x05, 0x0a, 0x09, 0x09, 0x91, 0x08, 0x61, 0x08, ^~~~ static_cast<char>( ) http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/v-1.90_6.log Modified: head/x11-toolkits/v/Makefile Modified: head/x11-toolkits/v/Makefile ============================================================================== --- head/x11-toolkits/v/Makefile Sat Aug 25 13:49:48 2018 (r478039) +++ head/x11-toolkits/v/Makefile Sat Aug 25 13:54:30 2018 (r478040) @@ -12,9 +12,12 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ MAINTAINER= ports@FreeBSD.org COMMENT= C++ GUI development framework for X11 and Microsoft Windows -USES= dos2unix gmake +USES= compiler dos2unix gmake USE_XORG= x11 xt xmu xaw MAKE_ENV= INSTALLDIR=${PREFIX} HOMEV=${WRKSRC} +# Build ignores CXXFLAGS +CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} +CFLAGS_clang= -Wno-c++11-narrowing WRKSRC= ${WRKDIR}/home/vgui
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808251354.w7PDsVLD025531>