On 11/18/2011 10:51 AM, Ion Gaztañaga wrote:
El 18/11/2011 2:09, Ioannis Papadopoulos escribió:
On 11/15/2011 07:15 PM, Ioannis Papadopoulos wrote:
Hi,
I'm trying to compile the intrusive doubly linked list example from http://www.boost.org/doc/libs/1_47_0/doc/html/intrusive/list.html#intrusive....
using xlC11.1 on AIX/Power5+ and I am getting the following error:
Is xlC standard conforming enough? I don't access to that compiler so I don't test it with that toolset.
Ion
xlC 11.1 is quite good and till now I haven't encountered major issues.
I'm willing to go through the code and fix intrusive for xlC, provided
that I get some guidance.
For starters, the is_convertible is invoking undefined behavior. xlC
rightfully warns against passing a non-POD through ellipsis (only PODs
are allowed there, otherwise it is considered undefined behavior:
"/scratch/ipapado/usr/include/boost/intrusive/detail/mpl.hpp", line
70.45: 1540-2924 (W) Cannot pass an argument of non-POD class type
"boost::intrusive::detail::is_convertible