[Boost-bugs] [Boost C++ Libraries] #1728: [date_time] unreferenced formal parameter warnings from VC9

Subject: [Boost-bugs] [Boost C++ Libraries] #1728: [date_time] unreferenced formal parameter warnings from VC9
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-03-29 21:29:37


#1728: [date_time] unreferenced formal parameter warnings from VC9
---------------------------------------------------------+------------------
 Reporter: Richard Webb <richard.webb_at_[hidden]> | Owner: az_sw_dude
     Type: Patches | Status: new
Milestone: To Be Determined | Component: date_time
  Version: Boost Development Trunk | Severity: Cosmetic
 Keywords: |
---------------------------------------------------------+------------------
 Running the date_time regression tests with Visual Studio 2008 on warning
 level 4 results in some 'unreferenced formal parameter' warnings:

 {{{
 boost/date_time/period_parser.hpp(122) : warning C4100: 'p' : unreferenced
 formal parameter
 boost/date_time/local_timezone_defs.hpp(69) : warning C4100: 'y' :
 unreferenced formal parameter
 boost/date_time/date_parsing.hpp(249) : warning C4100: 'end' :
 unreferenced formal parameter
 boost/date_time/date_parsing.hpp(213) : warning C4100: 'end' :
 unreferenced formal parameter

 boost/date_time/time.hpp(80) : warning C4100: 'as_offset' : unreferenced
 formal parameter
 boost/date_time/time.hpp(87) : warning C4100: 'as_offset' : unreferenced
 formal parameter
 boost/date_time/time_system_split.hpp(79) : warning C4100: 'dst' :
 unreferenced formal parameter
 }}}

 The attached patch silences these for me.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1728>
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:57 UTC