Opened 15 years ago

Closed 14 years ago

#1728 closed Patches (fixed)

[date_time] unreferenced formal parameter warnings from VC9

Reported by: Richard Webb <richard.webb@…> Owned by: az_sw_dude
Milestone: To Be Determined Component: date_time
Version: Boost Development Trunk Severity: Cosmetic
Keywords: Cc:

Description

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.

Attachments (1)

date_time_unref.patch (3.2 KB ) - added by Richard Webb <richard.webb@…> 15 years ago.

Download all attachments as: .zip

Change History (2)

by Richard Webb <richard.webb@…>, 15 years ago

Attachment: date_time_unref.patch added

comment:1 by Andrey Semashev, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.