Boost logo

Boost Testing :

Subject: Re: [Boost-testing] Issues with tester 2: IBM XL C++ Compiler For Linux, V13.1.1
From: Catherine Morton (catherin_at_[hidden])
Date: 2015-07-22 10:20:50


Found the answer
                                         
 #if defined( __clang__ ) && defined
 ( __has_extension )
 # if __has_extension( __c_atomic__ )
 # define BOOST_SP_HAS_CLANG_C11_ATOMICS
 # endif
 #endif
                                         

I have a pull request active for a new toolset xlcpp, once that is accepted
then we can work on getting this setup correctly for our compiler.

_______________
Catherine Morton
C++ front end development
IBM Toronto Lab
Email: catherin_at_[hidden]
Phone: (905) 413-4328 -- IBM Tieline: 313-4328

From: Catherine Morton/Toronto/IBM_at_IBMCA
To: Running Boost regression tests <boost-testing_at_[hidden]>
Cc: "Boost-Testing" <boost-testing-bounces_at_[hidden]>
Date: 07/22/2015 09:21 AM
Subject: Re: [Boost-testing] Issues with tester 2: IBM XL C++ Compiler
            For Linux, V13.1.1
Sent by: "Boost-Testing" <boost-testing-bounces_at_[hidden]>

We are working looking for the best option to resolve this issue. No pull
request has been submitted yet.
What do other compilers do if they do not support this type? Does boost
have a macro to avoid its use?

_______________
Catherine Morton
C++ front end development
IBM Toronto Lab
Email: catherin_at_[hidden]
Phone: (905) 413-4328 -- IBM Tieline: 313-4328

Inactive hide details for Hubert Tong---07/06/2015 12:45:29 AM---This
compiler needs a patch to compile this file. I believe a Hubert
Tong---07/06/2015 12:45:29 AM---This compiler needs a patch to compile this
file. I believe a pull request for the patch was submitt

From: Hubert Tong/Toronto/IBM_at_IBMCA
To: Running Boost regression tests <boost-testing_at_[hidden]>
Cc: "Boost-Testing" <boost-testing-bounces_at_[hidden]>
Date: 07/06/2015 12:45 AM
Subject: Re: [Boost-testing] Issues with tester 2: IBM XL C++ Compiler For
Linux, V13.1.1
Sent by: "Boost-Testing" <boost-testing-bounces_at_[hidden]>

This compiler needs a patch to compile this file. I believe a pull request
for the patch was submitted, but I do not know where that is at the moment.

Thanks,

Hubert Tong

=====
Hubert S. K. Tong
C++ Front-End and Runtime Development for XL C/C++
IBM Canada Ltd., C2/YGH/8200/MKM, 8200 Warden Avenue, Markham, Ontario L6G
1C7, Canada

--
E-mail:  hstong_at_[hidden]
===
Inactive hide details for Gennadiy Rozental ---05-07-2015 04:53:36 PM---Hi,
This tester is unable to build shared_ptr.hpp:Gennadiy Rozental
---05-07-2015 04:53:36 PM---Hi, This tester is unable to build
shared_ptr.hpp:
From: Gennadiy Rozental <rogeeff_at_[hidden]>
To: boost-testing_at_[hidden],
Date: 05-07-2015 04:53 PM
Subject: [Boost-testing] Issues with tester 2: IBM XL C++ Compiler For
Linux, V13.1.1
Sent by: "Boost-Testing" <boost-testing-bounces_at_[hidden]>
Hi,
This tester is unable to build shared_ptr.hpp:
warning: 1540-5200 The option "-qcpluscmt" is not supported.
warning: 1540-5240 The debug option for assertion has no effect.
In file included from ../libs/test/test/utils-ts/algorithm-test.cpp:17:
In file included from ../boost/test/unit_test.hpp:18:
In file included from ../boost/test/test_tools.hpp:38:
In file included from ../boost/test/tools/old/impl.hpp:20:
In file included from ../boost/test/tools/assertion_result.hpp:21:
In file included from ../boost/shared_ptr.hpp:17:
In file included from ../boost/smart_ptr/shared_ptr.hpp:28:
In file included from ../boost/smart_ptr/detail/shared_count.hpp:29:
In file included from ../boost/smart_ptr/detail/sp_counted_base.hpp:45:
../boost/smart_ptr/detail/sp_counted_base_clang.hpp:68:5:
error: 1540-2988 The type "Atomic" is not supported.
  atomic_int_least32_t use_count_;    // #shared
This affects all Boost.Test unit tests and I am sure lot more.
Is this compiler setup issue? Can this be addressed?
_______________________________________________
Boost-Testing mailing list
Boost-Testing_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-testing
_______________________________________________
Boost-Testing mailing list
Boost-Testing_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-testing
_______________________________________________
Boost-Testing mailing list
Boost-Testing_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-testing




graycol.gif
Boost-testing list run by mbergal at meta-comm.com