Date: Wed, 24 Oct 2018 00:35:59 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 232589] science/step: fix build with GCC-based architectures Message-ID: <bug-232589-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232589 Bug ID: 232589 Summary: science/step: fix build with GCC-based architectures Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: pkubaj@anongoth.pl Flags: maintainer-feedback?(kde@FreeBSD.org) Assignee: kde@FreeBSD.org Created attachment 198528 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D198528&action= =3Dedit patch Add USES=3Dcompiler:c++11-lang. CXXFLAGS+=3D-Wno-error=3Dreturn-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/stepc= ore/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:1= 76:63: error: no return statement in function returning non-void [-Werror=3Dreturn= -typ e] Index set_restart(const Index restart) { m_restart=3Drestart; } I added it only for GCC architectures. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232589-7788>