compilation errors under gcc-4.7
Hi,
when compiling cctbx with gcc-4.7 I see following errors which I am not
able to fix:
cctbx_sources/scitbx/math/boost_python/distributions.cpp:112:59:
required from here
cctbx_sources/scitbx/math/boost_python/distributions.cpp:83:7: error:
overloaded function with no contextual type information
cctbx_sources/scitbx/math/boost_python/distributions.cpp:86:7: error:
overloaded function with no contextual type information
cctbx_sources/scitbx/math/boost_python/distributions.cpp:90:7: error:
overloaded function with no contextual type information
cctbx_sources/scitbx/math/boost_python/distributions.cpp:91:7: error:
overloaded function with no contextual type information
cctbx_sources/scitbx/math/boost_python/distributions.cpp:92:7: error:
overloaded function with no contextual type information
cctbx_sources/scitbx/math/boost_python/distributions.cpp: In
instantiation of 'static void
scitbx::math::{anonymous}::non_member_function_wrappers
On Mon, Jun 18, 2012 at 8:07 AM, Justin Lecher
when compiling cctbx with gcc-4.7 I see following errors which I am not able to fix:
cctbx_sources/scitbx/math/boost_python/distributions.cpp:112:59: required from here cctbx_sources/scitbx/math/boost_python/distributions.cpp:83:7: error: overloaded function with no contextual type information ...
Any suggestions to fix?
No, but since one of the CCP4 maintainers also complained about this, it's on our to-do list. I don't think we have a system with gcc 4.7 anywhere, however - are you running Fedora 17 too? -Nat
Hi Justin, do you need those statistical tools that fail to compile? To be specific, Python wrappers for the Student-t distribution. If not, then the easiest solution for the short term would be to disable the compilation of those on gcc 4.7. We already avoid compilation for gcc 3.2 iirc. Best wishes, Luc
On 18/06/12 17:41, Luc Bourhis wrote:
Hi Justin,
do you need those statistical tools that fail to compile? To be specific, Python wrappers for the Student-t distribution. If not, then the easiest solution for the short term would be to disable the compilation of those on gcc 4.7. We already avoid compilation for gcc 3.2 iirc.
Best wishes,
Luc
_______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb
Hi, I am the maintainer of the package for Gentoo Linux. We recently add gcc-4.7, so I wanted to make sure cctbx compiles fine for the users. There are a couple of other issues, which can be solved with the attached patch but the Student-t tests are really hard. justin -- Justin Lecher Institute of Complex Systems ICS-6 Structural Biochemistry Research Centre Juelich 52425 Juelich, Germany phone: +49 2461 61 2117
I am the maintainer of the package for Gentoo Linux.
Please forgive my ignorance then!
We recently add gcc-4.7, so I wanted to make sure cctbx compiles fine for the users.
Sure.
There are a couple of other issues, which can be solved with the attached patch but the Student-t tests are really hard.
Missing this-> in templates, I see. I will have a look asap at that student-t issue then. Best wishes, Luc
I forgot to ask you which version of the Boost C++ library you compile against. Best wishes, Luc
On 18/06/12 23:13, Luc Bourhis wrote:
I forgot to ask you which version of the Boost C++ library you compile against.
Best wishes,
Luc
_______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb
I am using boost-1.49. Could it be a problem with that? justin
On 19/06/12 15:35, Luc Bourhis wrote:
I am using boost-1.49. Could it be a problem with that?
It could have been but it is not: same compilation error with the trunk. I have just pushed a fix.
Best wishes,
Luc
_______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb
Thank you Luc, That commit fixes the problem here. justin
participants (5)
-
justin
-
justin
-
Justin Lecher
-
Luc Bourhis
-
Nathaniel Echols