You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building symengine with gcc-14 the following warning is generated:
In file included from /home/runner/work/symengine/symengine/symengine/series_generic.h:11,
from /home/runner/work/symengine/symengine/symengine/visitor.h:15,
from /home/runner/work/symengine/symengine/symengine/lambda_double.h:8,
from /home/runner/work/symengine/symengine/symengine/cwrapper.cpp:10:
/home/runner/work/symengine/symengine/symengine/series.h:128:23: error: ‘Teuchos::RCP<const SymEngine::Number> SymEngine::SeriesBase<Poly, Coeff, Series>::pow(const SymEngine::Number&) const [with Poly = SymEngine::fmpq_poly_wrapper; Coeff = SymEngine::fmpq_wrapper; Series = SymEngine::URatPSeriesFlint]’ was hidden [-Werror=overloaded-virtual=]
128 | RCP<const Number> pow(const Number &other) const override
| ^~~
In file included from /home/runner/work/symengine/symengine/symengine/visitor.h:17:
/home/runner/work/symengine/symengine/symengine/series_flint.h:41:18: note: by ‘static SymEngine::fqp_t SymEngine::URatPSeriesFlint::pow(const SymEngine::fqp_t&, int, unsigned int)’
41 | static fqp_t pow(const fqp_t &s, int n, unsigned prec);
| ^~~
cc1plus: all warnings being treated as errors
I haven't looked much at this before, why is the method static? Is it public API, if not I guess we could rename the method to e.g. power?
The text was updated successfully, but these errors were encountered:
When building symengine with gcc-14 the following warning is generated:
I haven't looked much at this before, why is the method static? Is it public API, if not I guess we could rename the method to e.g.
power
?The text was updated successfully, but these errors were encountered: