[Boost-bugs] [Boost C++ Libraries] #2756: Warning while compiling ptr_unordered_map

Subject: [Boost-bugs] [Boost C++ Libraries] #2756: Warning while compiling ptr_unordered_map
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-13 07:06:33


#2756: Warning while compiling ptr_unordered_map
--------------------------+-------------------------------------------------
 Reporter: anonymous | Owner: danieljames
     Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: unordered
  Version: Boost 1.38.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 The following warning appears while compiling any usage of
 ptr_unordered_map with MSVC 9.0 SP1:

 {{{
   c:\boost\include\boost-1_38\boost\unordered\detail\hash_table.hpp(228) :
 warning C4100: 'x' : unreferenced formal parameter
 c:\boost\include\boost-1_38\boost\unordered\detail\hash_table_impl.hpp(175)
 : see reference to function template instantiation 'void
 boost::unordered_detail::destroy<std::pair<_Ty1,_Ty2>>(T *)' being
 compiled
         with
         [
             _Ty1=const size_t,
             _Ty2=void *,
             T=std::pair<const size_t,void *>
         ]
         ..............................................
 c:\boost\include\boost-1_38\boost\ptr_container\ptr_unordered_map.hpp(37)
 : see reference to class template instantiation
 'boost::ptr_map_adapter<T,VoidPtrMap,CloneAllocator,Ordered>' being
 compiled
         with
         [
             T=mstd::pool,
             VoidPtrMap=boost::unordered_map<size_t,void
 *,boost::hash<unsigned
 int>,std::equal_to<size_t>,std::allocator<std::pair<const size_t,void
 *>>>,
             CloneAllocator=boost::heap_clone_allocator,
             Ordered=false
         ]

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2756>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC