compilation errors under gcc-4.7
![](https://secure.gravatar.com/avatar/f59257b78eb393432d70c669de67cf21.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/cad35f4dd77b3ab8e60ede4e3d54c6f4.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/2cf13f99074a055ce708406c52f233c9.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/f59257b78eb393432d70c669de67cf21.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/2cf13f99074a055ce708406c52f233c9.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/2cf13f99074a055ce708406c52f233c9.jpg?s=120&d=mm&r=g)
I forgot to ask you which version of the Boost C++ library you compile against. Best wishes, Luc
![](https://secure.gravatar.com/avatar/da7e9f8e679a87b3b7a4c198d4e7e265.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/9e34d19800cd83b303605a9bbe0882d3.jpg?s=120&d=mm&r=g)
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