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)
This commit is contained in:
Piotr Kubaj 2020-11-11 17:40:37 +00:00
parent 950bf6ba9c
commit 666433c681
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=554905

View File

@ -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>