for 4.2 versions of the policy-based associated containers, the individual
debug macros were stripped out and the usual libstc++-designating-debug-mode
macro was used. 

This is: _GLIBCXX_DEBUG.

While doing this, I found a long-standing issue with the pb_ds hash-based
containers and  the debug mode: parts are missing. This isn't the case for tree
and priority_que data structures, which work perfectly. This is apparently an
issue for every version of pb_ds and pb_assoc that I've seen.

Can be seen here:

/mnt/share/src/gcc/libstdc++-v3/testsuite/ext/pb_ds/example/basic_map.cc:98:  
instantiated from here
/mnt/share/bld/gcc/i686-pc-linux-gnu/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp:70:
error: 'm_store_hash_indicator' is not a member of
'pb_ds::detail::types_traits<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, pb_ds::list_update<long unsigned int, float,
std::equal_to<long unsigned int>,
pb_ds::move_to_front_lu_policy<std::allocator<char> >, std::allocator<char> >,
std::allocator<char>, false>'

I'm not quite sure where this is supposed to come from.


-- 
           Summary: pb_ds hash containers vs. _GLIBCXX_DEBUG
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bkoz at gcc dot gnu dot org
 GCC build triplet: all
  GCC host triplet: all
GCC target triplet: all


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29367

Reply via email to