Re: [Boost-bugs] [Boost C++ Libraries] #8824: Issue with thread library on AIX 5.2

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8824: Issue with thread library on AIX 5.2
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-03 05:20:45


#8824: Issue with thread library on AIX 5.2
------------------------------------------------+----------------------
  Reporter: Gert Grossmann <gert.grossmann@…> | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------------+----------------------
Changes (by viboes):

 * owner: anthonyw => viboes
 * status: new => assigned


Old description:

> First we have to fix smart_ptr/shared_ptr.hpp because of an compile bug
> on AIX 5.2 (bug already opend)
> Change all occurences of
> #if !defined( __BORLANDC__ ) || !BOOST_WORKAROUND( __BORLANDC__, < 0x600
> )
> to
> #if (!defined( __BORLANDC__ ) || !BOOST_WORKAROUND( __BORLANDC__, < 0x600
> )) && !definded(_AIX)
>
> ./b2 -d+2 address-model=64 threading=multi link=static runtime-
> link=static version=debug thread
>
> vacpp.compile.c++ bin.v2/libs/thread/build/vacpp/debug/address-model-64
> /link-static/runtime-link-static/threading-multi/pthread/thread.o
>
> xlC_r -c -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_STATIC_LINK=1
> -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_DONT_USE_CHRONO
> -DBOOST_THREAD_POSIX -qcpluscmt -qNOOPTimize -qnoinline -q64 -g
> -qfullpath -qfuncsect -qeh -qrtti -I"." -o "bin
> .v2/libs/thread/build/vacpp/debug/address-model-64/link-static/runtime-
> link-static/threading-multi/pthread/thread.o"
> "libs/thread/src/pthread/thread.cpp"
>
> "./boost/thread/detail/async_func.hpp", line 94.58: 1540-0711 (S) Too few
> template arguments have been specified.
> "./boost/thread/detail/async_func.hpp", line 166.54: 1540-0711 (S) Too
> few template arguments have been specified.
> "./boost/thread/detail/async_func.hpp", line 231.50: 1540-0711 (S) Too
> few template arguments have been specified.
> "./boost/thread/detail/async_func.hpp", line 291.46: 1540-0711 (S) Too
> few template arguments have been specified.
> "./boost/thread/detail/async_func.hpp", line 346.42: 1540-0711 (S) Too
> few template arguments have been specified.
> "./boost/thread/detail/async_func.hpp", line 396.38: 1540-0711 (S) Too
> few template arguments have been specified.
> "./boost/thread/detail/async_func.hpp", line 441.34: 1540-0711 (S) Too
> few template arguments have been specified.
> "./boost/thread/detail/async_func.hpp", line 481.30: 1540-0711 (S) Too
> few template arguments have been specified.
> "./boost/thread/detail/async_func.hpp", line 516.26: 1540-0711 (S) Too
> few template arguments have been specified.
> "./boost/thread/detail/async_func.hpp", line 546.22: 1540-0711 (S) Too
> few template arguments have been specified.
> "./boost/thread/cv_status.hpp", line 23.3: 1540-0219 (S) The call to
> "operator==" has no best match.
> "./boost/thread/cv_status.hpp", line 23.3: 1540-1229 (I) Argument number
> 1 is an rvalue of type "boost::cv_status::enum_type".
> "./boost/thread/cv_status.hpp", line 23.3: 1540-1229 (I) Argument number
> 2 is an rvalue of type "boost::cv_status::enum_type".
> "./boost/thread/cv_status.hpp", line 23.3: 1540-1202 (I) No candidate is
> better than "builtin operator==(int, int)".
> "./boost/thread/cv_status.hpp", line 23.3: 1540-1231 (I) The conversion
> from argument number 1 to "int" uses "an integral promotion".
> "./boost/thread/cv_status.hpp", line 23.3: 1540-1231 (I) The conversion
> from argument number 2 to "int" uses "an integral promotion".
> "./boost/thread/cv_status.hpp", line 23.3: 1540-1202 (I) No candidate is
> better than "boost::operator==(self_type, enum_type)".
> "./boost/thread/cv_status.hpp", line 23.3: 1540-1231 (I) The conversion
> from argument number 1 to "boost::cv_status" uses the user-defined
> conversion "boost::cv_status::cv_status(enum_type)" followed by "an
> lvalue-to-rvalue transformation".
>
> Regards, Gert

New description:

 First we have to fix smart_ptr/shared_ptr.hpp because of an compile bug on
 AIX 5.2 (bug already opend)
 Change all occurences of

 {{{
 #if !defined( __BORLANDC__ ) || !BOOST_WORKAROUND( __BORLANDC__, < 0x600 )
 }}}

 to

 {{{
 #if (!defined( __BORLANDC__ ) || !BOOST_WORKAROUND( __BORLANDC__, < 0x600
 )) && !definded(_AIX)
 }}}



 {{{
 ./b2 -d+2 address-model=64 threading=multi link=static runtime-link=static
 version=debug thread
 }}}



 {{{
 vacpp.compile.c++ bin.v2/libs/thread/build/vacpp/debug/address-model-64
 /link-static/runtime-link-static/threading-multi/pthread/thread.o

     xlC_r -c -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_STATIC_LINK=1
 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_DONT_USE_CHRONO
 -DBOOST_THREAD_POSIX -qcpluscmt -qNOOPTimize -qnoinline -q64 -g -qfullpath
 -qfuncsect -qeh -qrtti -I"." -o "bin
 .v2/libs/thread/build/vacpp/debug/address-model-64/link-static/runtime-
 link-static/threading-multi/pthread/thread.o"
 "libs/thread/src/pthread/thread.cpp"

 "./boost/thread/detail/async_func.hpp", line 94.58: 1540-0711 (S) Too few
 template arguments have been specified.
 "./boost/thread/detail/async_func.hpp", line 166.54: 1540-0711 (S) Too few
 template arguments have been specified.
 "./boost/thread/detail/async_func.hpp", line 231.50: 1540-0711 (S) Too few
 template arguments have been specified.
 "./boost/thread/detail/async_func.hpp", line 291.46: 1540-0711 (S) Too few
 template arguments have been specified.
 "./boost/thread/detail/async_func.hpp", line 346.42: 1540-0711 (S) Too few
 template arguments have been specified.
 "./boost/thread/detail/async_func.hpp", line 396.38: 1540-0711 (S) Too few
 template arguments have been specified.
 "./boost/thread/detail/async_func.hpp", line 441.34: 1540-0711 (S) Too few
 template arguments have been specified.
 "./boost/thread/detail/async_func.hpp", line 481.30: 1540-0711 (S) Too few
 template arguments have been specified.
 "./boost/thread/detail/async_func.hpp", line 516.26: 1540-0711 (S) Too few
 template arguments have been specified.
 "./boost/thread/detail/async_func.hpp", line 546.22: 1540-0711 (S) Too few
 template arguments have been specified.
 "./boost/thread/cv_status.hpp", line 23.3: 1540-0219 (S) The call to
 "operator==" has no best match.
 "./boost/thread/cv_status.hpp", line 23.3: 1540-1229 (I) Argument number 1
 is an rvalue of type "boost::cv_status::enum_type".
 "./boost/thread/cv_status.hpp", line 23.3: 1540-1229 (I) Argument number 2
 is an rvalue of type "boost::cv_status::enum_type".
 "./boost/thread/cv_status.hpp", line 23.3: 1540-1202 (I) No candidate is
 better than "builtin operator==(int, int)".
 "./boost/thread/cv_status.hpp", line 23.3: 1540-1231 (I) The conversion
 from argument number 1 to "int" uses "an integral promotion".
 "./boost/thread/cv_status.hpp", line 23.3: 1540-1231 (I) The conversion
 from argument number 2 to "int" uses "an integral promotion".
 "./boost/thread/cv_status.hpp", line 23.3: 1540-1202 (I) No candidate is
 better than "boost::operator==(self_type, enum_type)".
 "./boost/thread/cv_status.hpp", line 23.3: 1540-1231 (I) The conversion
 from argument number 1 to "boost::cv_status" uses the user-defined
 conversion "boost::cv_status::cv_status(enum_type)" followed by "an
 lvalue-to-rvalue transformation".
 }}}


 Regards, Gert

--
Comment:
 Do you have a change suggestion?
-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8824#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC