maintainer-feedback requested: [Bug 232589] science/step: fix build with GCC-based architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 24 01:35:59 BST 2018


Bugzilla Automation <bugzilla at FreeBSD.org> has asked kde at FreeBSD.org for
maintainer-feedback:
Bug 232589: science/step: fix build with GCC-based architectures
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232589



--- Description ---
Add USES=compiler:c++11-lang.

CXXFLAGS+=-Wno-error=return-type is necessary to fix:
In file included from
/usr/local/include/eigen3/unsupported/Eigen/IterativeSolvers:36:0,
		 from
/tmp/usr/local/poudriere/ports/default/science/step/work/step-18.08.2/stepcore/
constraintsolver.cc:24:
/usr/local/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h: In
member function 'Eigen::Index Eigen::DGMRES<_MatrixType,
_Preconditioner>::set_re
start(Eigen::Index)':
/usr/local/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h:176:6
3:
error: no return statement in function returning non-void [-Werror=return-typ
e]
   Index set_restart(const Index restart) { m_restart=restart; }

I added it only for GCC architectures.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.


More information about the kde-freebsd mailing list