svn commit: r554905 - head/cad/iverilog

Piotr Kubaj pkubaj at FreeBSD.org
Wed Nov 11 17:40:37 UTC 2020


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>


More information about the svn-ports-head mailing list