Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 2020 17:40:37 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r554905 - head/cad/iverilog
Message-ID:  <202011111740.0ABHebt1085141@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Nov 11 17:40:37 2020
New Revision: 554905
URL: https://svnweb.freebsd.org/changeset/ports/554905

Log:
  cad/iverilog: fix build on GCC architectures
  
  expression_evaluate.cc: In member function 'virtual bool ExpArithmetic::evaluate(Entity*, ScopeBase*, int64_t&) const':
  expression_evaluate.cc:67: error: call of overloaded 'pow(int64_t&, int64_t&)' is ambiguous
  /usr/include/math.h:257: note: candidates are: double pow(double, double)
  /usr/include/c++/4.2/cmath:373: note:                 long double std::pow(long double, int)
  /usr/include/c++/4.2/cmath:369: note:                 float std::pow(float, int)
  /usr/include/c++/4.2/cmath:365: note:                 double std::pow(double, int)
  /usr/include/c++/4.2/cmath:361: note:                 long double std::pow(long double, long double)
  /usr/include/c++/4.2/cmath:357: note:                 float std::pow(float, float)

Modified:
  head/cad/iverilog/Makefile

Modified: head/cad/iverilog/Makefile
==============================================================================
--- head/cad/iverilog/Makefile	Wed Nov 11 17:25:22 2020	(r554904)
+++ head/cad/iverilog/Makefile	Wed Nov 11 17:40:37 2020	(r554905)
@@ -15,6 +15,6 @@ LICENSE=	GPLv2
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-suffix
 
-USES=		bison gmake readline
+USES=		bison compiler:c++11-lang gmake readline
 
 .include <bsd.port.mk>



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