Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6157 closed Bugs (wontfix)

Intrusive doubly linked list fails on xlC 11.1

Reported by: ipapadop@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: intrusive
Version: Boost 1.48.0 Severity: Problem
Keywords: intrusive xlc error Cc:

Description

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...".

Change History (3)

comment:1 by Ion Gaztañaga, 11 years ago

Resolution: wontfix
Status: newclosed

Sorry, but xlC is not supported, is not standard conforming enough.

comment:2 by Ioannis Papadopoulos <ipapadop@…>, 11 years ago

I am testing that with xlC 11.1, which is quite more conforming that any of the previous ones (and on the regression tests it looks that it is not that bad).

Is xlC not supported as a whole by the Boost community or is this just your personal decision?

comment:3 by Ion Gaztañaga, 11 years ago

Each library can support different compilers. It's extermely hard to support every compiler, specially when we have no access to those compilers/platforms. In those cases I only support compilers with well-known and very conforming front-ends (like the EDG used by Intel, Comeau...).

Note: See TracTickets for help on using tickets.