[Boost-bugs] [Boost C++ Libraries] #3196: compiler warnings in VC9

Subject: [Boost-bugs] [Boost C++ Libraries] #3196: compiler warnings in VC9
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-20 02:44:22


#3196: compiler warnings in VC9
---------------------------------+------------------------------------------
 Reporter: kfriddile@… | Owner: jsiek
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: concept_check
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
---------------------------------+------------------------------------------
 The following code in boost/concept/detail/msvc.hpp generates a warning
 stating that 'x' is an unreferenced formal parameter under VC9 at warning
 level 4 when failed() isn't invoked. Since this already appears to be an
 msvc-specific file, can it's contents be wrapped in a #pragma warning(
 disable : 4100 ) to suppress the warning?

 template <class Model>
 struct check
 {
     virtual void failed(Model* x)
     {
         x->~Model();
     }
 };

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3196>
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:50:00 UTC