Ticket #3601: warnings.diff

File warnings.diff, 1.2 KB (added by johnmaddock, 4 years ago)
  • ../test/bind_visit_test.cpp

     
    55# pragma warning(disable: 4710)  // function not inlined 
    66# pragma warning(disable: 4711)  // function selected for automatic inline expansion 
    77# pragma warning(disable: 4514)  // unreferenced inline removed 
     8# pragma warning(disable: 4100)  // unreferenced formal parameter (it is referenced!) 
    89#endif 
    910 
    1011// Copyright (c) 2006 Douglas Gregor <doug.gregor@gmail.com> 
  • ../../../boost/bind/bind.hpp

     
    207207    } 
    208208}; 
    209209 
     210#ifdef BOOST_MSVC 
     211// MSVC is bright enough to realise that the parameter rhs  
     212// in operator==may be unused for some template argument types: 
     213#pragma warning(push) 
     214#pragma warning(disable:4100) 
     215#endif 
     216 
    210217template< class A1 > class list1: private storage1< A1 > 
    211218{ 
    212219private: 
     
    846853    } 
    847854}; 
    848855 
     856#ifdef BOOST_MSVC 
     857#pragma warning(pop) 
     858#endif 
     859 
    849860// bind_t 
    850861 
    851862#ifndef BOOST_NO_VOID_RETURNS