Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2018 17:13:43 +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: r478232 - head/textproc/randlm
Message-ID:  <201808271713.w7RHDh5j014800@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Mon Aug 27 17:13:43 2018
New Revision: 478232
URL: https://svnweb.freebsd.org/changeset/ports/478232

Log:
  textproc/randlm: Fix build with Clang 6
  
  In file included from RandLMBuilder.cpp:17:
  In file included from ./RandLMBuilder.h:21:
  In file included from ./RandLMPipelineTool.h:20:
  In file included from ./RandLMPipeline.h:20:
  In file included from ./RandLMPreproc.h:25:
  In file included from ./RandLM.h:23:
  ./RandLMQuantiser.h:41:24: error: in-class initializer for static data member of type 'const float' requires 'constexpr' specifier [-Wstatic-float-init]
      static const float kFloatErr = 0.00001f;
                         ^           ~~~~~~~~
  ./RandLMQuantiser.h:41:5: note: add 'constexpr'
      static const float kFloatErr = 0.00001f;
      ^
      constexpr
  
  http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/randlm-0.2.5_13.log
  
  PR:		230892
  Submitted by:	tobik
  Approved by:	demon (maintainer)

Modified:
  head/textproc/randlm/Makefile

Modified: head/textproc/randlm/Makefile
==============================================================================
--- head/textproc/randlm/Makefile	Mon Aug 27 17:10:21 2018	(r478231)
+++ head/textproc/randlm/Makefile	Mon Aug 27 17:13:43 2018	(r478232)
@@ -19,6 +19,7 @@ BROKEN_armv6=		fails to compile: invalid output constr
 BROKEN_powerpc64=	fails to compile: 'itr' does not name a type
 
 GNU_CONFIGURE=	yes
+USE_CXXSTD=	gnu++98
 USE_PERL5=	run
 USE_LDCONFIG=	yes
 USES=		autoreconf libtool compiler:c++11-lang



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