Boost logo

Boost Users :

From: Christoph (christoph.duelli_at_[hidden])
Date: 2007-02-26 15:27:52


Joaquín Mª López Muñoz wrote:

>> ----- Mensaje original -----
>> Please try inserting the following before line 233 of
>> the RC_1_34 version of multi_index_container.hpp:
>>
>> bfm_header(),
>>
>> Warning gone? If so, I can commit this change in time
>> for Boost 1.34.
>
> Hello again, I've verified the patch locally and commited the
> appropriate changes. I'd be so grateful if you could download
> again a RC_1_34_0 snapshot from
I have tried it.
The snapshot works, my applying the the change myself did not. As I could
not find a lot of other diffs in multi_index, I am somewhat baffled as to
why.
But the important thing is that the snapshot does work! Thank you.

I am not sure if the following minor issue is still multi index's fault. I
get the following 'used uninitialized' warning for inf$side (which I did
not get before):

/linuxtools/apps/boost-RC_1_34_0-07-02-26-1906/boost/multi_index/ordered_index.hpp:
In member function 'bool
boost::multi_index::detail::ordered_index<KeyFromValue, Compare, SuperMeta,
TagList, Category>::replace_(typename boost::call_traits<typename
boost::multi_index::detail::ordered_index_node<typename
SuperMeta::type::node_type>::value_type>::param_type,
boost::multi_index::detail::ordered_index_node<typename
SuperMeta::type::node_type>*) [with KeyFromValue =
boost::multi_index::const_mem_fun<ListenMonitor::ListenZeile,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
&ListenMonitor::ListenZeile::id>, Compare =
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, SuperMeta =
boost::multi_index::detail::nth_layer<3, ListenMonitor::ListenZeile,
boost::multi_index::indexed_by<boost::multi_index::sequenced<boost::multi_index::tag<mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> >,
boost::multi_index::ordered_non_unique<boost::multi_index::identity<ListenMonitor::ListenZeile>,
mpl_::na, mpl_::na>,
boost::multi_index::ordered_unique<boost::multi_index::const_mem_fun<ListenMonitor::ListenZeile,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
&ListenMonitor::ListenZeile::id>, mpl_::na, mpl_::na>, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na,
mpl_::na>, std::allocator<ListenMonitor::ListenZeile> >, TagList =
boost::mpl::vector0<mpl_::na>, Category =
boost::multi_index::detail::ordered_unique_tag]':
/linuxtools/apps/boost-RC_1_34_0-07-02-26-1906/boost/multi_index/ordered_index.hpp:630:
warning: 'inf$side' may be used uninitialized in this function
/linuxtools/apps/boost-RC_1_34_0-07-02-26-1906/boost/multi_index/ordered_index.hpp:
In member function 'bool ListenMonitor::Liste::updateZeile(const
ListenMonitor::ListenZeile&)':
/linuxtools/apps/boost-RC_1_34_0-07-02-26-1906/boost/multi_index/ordered_index.hpp:551:
warning: 'inf$side' may be used uninitialized in this function

Christoph


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net