Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2018 23:51:02 +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: r478634 - head/games/gillo
Message-ID:  <201808312351.w7VNp2w1025273@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Fri Aug 31 23:51:02 2018
New Revision: 478634
URL: https://svnweb.freebsd.org/changeset/ports/478634

Log:
  games/gillo: Fix build with Clang 6
  
  src/entity.h:63:21: error: in-class initializer for static data member of type 'const float' requires 'constexpr' specifier [-Wstatic-float-init]
          static const float defaultCharge = 10;
                             ^
  
  http://beefy11.nyi.freebsd.org/data/head-i386-default/p478276_s338342/logs/errors/gillo-1.0.b1_10.log

Modified:
  head/games/gillo/Makefile

Modified: head/games/gillo/Makefile
==============================================================================
--- head/games/gillo/Makefile	Fri Aug 31 23:48:26 2018	(r478633)
+++ head/games/gillo/Makefile	Fri Aug 31 23:51:02 2018	(r478634)
@@ -21,6 +21,7 @@ LIB_DEPENDS=	libode.so:devel/ode
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 USES=		tar:bzip2
+USE_CXXSTD=	c++98
 USE_GL=		glu
 USE_SDL=	yes
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808312351.w7VNp2w1025273>