Opened 12 years ago

Closed 12 years ago

#4952 closed Patches (fixed)

Shadowing warnings on parameter and local variable names in boost/date_time/time_facet.hpp

Reported by: Rich McKeever <richmckeever@…> Owned by: az_sw_dude
Milestone: To Be Determined Component: date_time
Version: Boost 1.44.0 Severity: Cosmetic
Keywords: Cc:

Description

time_facet.hpp has numerous shadowing warnings with GCC 4.3.0 on Mac OS 10.6.4. The attached patch resolves the warnings.

Attachments (1)

time_facet.hpp.diff (21.0 KB ) - added by Rich McKeever <richmckeever@…> 12 years ago.

Download all attachments as: .zip

Change History (4)

by Rich McKeever <richmckeever@…>, 12 years ago

Attachment: time_facet.hpp.diff added

comment:1 by Rob Stewart, 12 years ago

The new parameter names look odd (I use leading underscores for formal parameter names versus your use of a trailing "_arg"), but I otherwise see nothing wrong with the patch.

comment:2 by Marshall Clow, 12 years ago

(In [70768]) Applied patch - Refs #4952

comment:3 by Marshall Clow, 12 years ago

Resolution: fixed
Status: newclosed

(In [70984]) Merge date/time fixes to release. Fixes #4952

Note: See TracTickets for help on using tickets.