[config] help with pathscale-4.x

Hi John, Any chance you can take a look at the attached configure generated user.hpp and recommend changes to Boost.config for supporting the Pathscale compiler? -- Noel Belcourt

Any chance you can take a look at the attached configure generated user.hpp and recommend changes to Boost.config for supporting the Pathscale compiler?
Noel, can you please run the configure script with the --enable-test option? That will print out at the end what *probably* needs to change - it's not completely infallible - but much easier than comparing long lists of macro names ;-) Thanks, John.

On Feb 28, 2011, at 9:27 AM, John Maddock wrote:
Any chance you can take a look at the attached configure generated user.hpp and recommend changes to Boost.config for supporting the Pathscale compiler?
Noel, can you please run the configure script with the --enable-test option? That will print out at the end what *probably* needs to change - it's not completely infallible - but much easier than comparing long lists of macro names ;-)
Ah, right, sorry. You've mentioned that before and I keep forgetting. Here's the updated output. the following macros need to be defined BOOST_NO_FENV_H the following macros need to be undef'ed BOOST_DEDUCED_TYPENAME BOOST_NO_0X_HDR_TYPE_TRAITS BOOST_NO_0X_HDR_ARRAY Thanks for the help John. -- Noel

Any chance you can take a look at the attached configure generated user.hpp and recommend changes to Boost.config for supporting the Pathscale compiler?
Noel, can you please run the configure script with the --enable-test option? That will print out at the end what *probably* needs to change - it's not completely infallible - but much easier than comparing long lists of macro names ;-)
Ah, right, sorry. You've mentioned that before and I keep forgetting. Here's the updated output.
the following macros need to be defined BOOST_NO_FENV_H
Are you able to tell why that test is failing (should be in the configure log somewhere)? BTW the results online show Pathscale passing the config tests even without that one set... it should surely be available on Linux whatever the compiler?
the following macros need to be undef'ed BOOST_DEDUCED_TYPENAME BOOST_NO_0X_HDR_TYPE_TRAITS BOOST_NO_0X_HDR_ARRAY
Tentative fix for those committed. Cheers, John.

On Feb 28, 2011, at 11:17 AM, John Maddock wrote:
Here's the updated output.
the following macros need to be defined BOOST_NO_FENV_H
Are you able to tell why that test is failing (should be in the configure log somewhere)?
BTW the results online show Pathscale passing the config tests even without that one set... it should surely be available on Linux whatever the compiler?
configure:2198: checking fenv.h (pass expected) configure:2231: /home/kbelco/ekopath/4.0.8/bin/pathCC -o conftest - I./../.. -I./../../libs/config/test -g -O2 conftest.cpp -lrt -lm - lpthread >&5 In file included from conftest.cpp:21: ./../../libs/config/test/boost_no_fenv_h.ipp: In function 'int boost_no_fenv_h::test()': ./../../libs/config/test/boost_no_fenv_h.ipp:64: error: invalid conversion from 'int (*)()throw ()' to 'int (*)(fexcept_t*, int)'
the following macros need to be undef'ed BOOST_DEDUCED_TYPENAME BOOST_NO_0X_HDR_TYPE_TRAITS BOOST_NO_0X_HDR_ARRAY
Tentative fix for those committed.
Thanks. -- Noel
participants (2)
-
Belcourt, Kenneth
-
John Maddock