Boost logo

Boost :

Subject: [boost] [intrusive] Compilation problem with gcc 4.7
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2013-07-29 12:12:40


In code which compiled just fine I'm now seeing:

In file included from
/opt/boost/trunk-debug/boost/intrusive/slist_hook.hpp:24:0,
                 from /opt/boost/trunk-debug/boost/intrusive/slist.hpp:21,
                 from
/opt/buildbot/slave/hpx_gcc47_x8664_boosttrunk_debug/build/hpx/lcos/local/mu
tex.hpp:23,
                 from
/opt/buildbot/slave/hpx_gcc47_x8664_boosttrunk_debug/build/hpx/runtime/compo
nents/server/wrapper_heap.hpp:20,
                 from
/opt/buildbot/slave/hpx_gcc47_x8664_boosttrunk_debug/build/hpx/runtime/compo
nents/server/managed_component_base.hpp:13,
                 from
/opt/buildbot/slave/hpx_gcc47_x8664_boosttrunk_debug/build/hpx/lcos/base_lco
.hpp:12,
                 from
/opt/buildbot/slave/hpx_gcc47_x8664_boosttrunk_debug/build/hpx/lcos/base_lco
_with_value.hpp:11,
                 from
/opt/buildbot/slave/hpx_gcc47_x8664_boosttrunk_debug/build/hpx/performance_c
ounters/counters.hpp:12,
                 from
/opt/buildbot/slave/hpx_gcc47_x8664_boosttrunk_debug/build/hpx/runtime/compo
nents/server/runtime_support.hpp:32,
                 from
/opt/buildbot/slave/hpx_gcc47_x8664_boosttrunk_debug/build/hpx/runtime.hpp:1
2,
                 from
/opt/buildbot/slave/hpx_gcc47_x8664_boosttrunk_debug/build/src/hpx_main.cpp:
7:
/opt/boost/trunk-debug/boost/intrusive/detail/generic_hook.hpp: At global
scope:
/opt/boost/trunk-debug/boost/intrusive/detail/generic_hook.hpp:134:55:
error: declaration of ‘typedef struct boost::intrusive::hooktags<typename
GetNodeAlgorithms::type::node_traits, Tag, LinkMode, BaseHookType>
boost::intrusive::generic_hook<GetNodeAlgorithms, Tag, LinkMode,
BaseHookType>::hooktags’ [-fpermissive]
/opt/boost/trunk-debug/boost/intrusive/detail/generic_hook.hpp:84:8: error:
changes meaning of ‘hooktags’ from ‘struct
boost::intrusive::hooktags<typename GetNodeAlgorithms::type::node_traits,
Tag, LinkMode, BaseHookType>’ [-fpermissive]

Ion, could you fix this, please?

Regards Hartmut
---------------
http://boost-spirit.com
http://stellar.cct.lsu.edu


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk