[Boost-bugs] [Boost C++ Libraries] #6157: Intrusive doubly linked list fails on xlC 11.1

Subject: [Boost-bugs] [Boost C++ Libraries] #6157: Intrusive doubly linked list fails on xlC 11.1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-22 00:01:33


#6157: Intrusive doubly linked list fails on xlC 11.1
-----------------------------------+----------------------------------------
 Reporter: ipapadop@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: intrusive
  Version: Boost 1.48.0 | Severity: Problem
 Keywords: intrusive xlc error |
-----------------------------------+----------------------------------------
 I am getting errors trying to compile the example in
 http://www.boost.org/doc/libs/1_47_0/doc/html/intrusive/list.html#intrusive.list.list_example
 using IBM xlC11.1

 The error is the following:


 1540-0216 (S) An expression of type "overloaded function:
 base_hook_traits<MyClass,boost::intrusive::list_node_traits<void
 *>,1,boost::intrusive::default_tag,1>::to_node_ptr" cannot be converted
 to type "boost::intrusive::list_node<void *>
 *(boost::intrusive::detail::base_hook_traits<MyClass,boost::intrusive::list_node_traits<void
 *>,1,boost::intrusive::default_tag,1>::*)(MyClass &)".
 "/scratch/ipapado/usr/include/boost/intrusive/detail/utilities.hpp",
 line 383.20: 1540-0424 (I)
 "boost::intrusive::detail::base_hook_traits<MyClass,boost::intrusive::list_node_traits<void
 *>,1,boost::intrusive::default_tag,1>::to_node_ptr(reference)" is
 declared on line 383 of
 "/scratch/ipapado/usr/include/boost/intrusive/detail/utilities.hpp".
 "/scratch/ipapado/usr/include/boost/intrusive/detail/utilities.hpp",
 line 386.26: 1540-0424 (I)
 "boost::intrusive::detail::base_hook_traits<MyClass,boost::intrusive::list_node_traits<void
 *>,1,boost::intrusive::default_tag,1>::to_node_ptr(const_reference)" is
 declared on line 386 of
 "/scratch/ipapado/usr/include/boost/intrusive/detail/utilities.hpp".
 "/scratch/ipapado/usr/include/boost/intrusive/detail/is_stateful_value_traits.hpp",
 line 38.1: 1540-0700 (I) The previous message was produced while
 processing
 "boost::intrusive::function_detector::DetectMember_InstantiationKey_to_node_ptr<struct
 boost::intrusive::detail::base_hook_traits<MyClass,boost::intrusive::list_node_traits<void
 *>,1,boost::intrusive::default_tag,1>,struct
 boost::intrusive::list_node<void *>
 *(boost::intrusive::detail::base_hook_traits<MyClass,boost::intrusive::list_node_traits<void
 *>,1,boost::intrusive::default_tag,1>::*)(class MyClass &),struct
 boost::intrusive::list...".

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6157>
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:07 UTC