Opened 7 years ago

Closed 7 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:


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@…> 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Rich McKeever <richmckeever@…>

Attachment: time_facet.hpp.diff added

comment:1 Changed 7 years ago by Rob Stewart

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 Changed 7 years ago by Marshall Clow

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

comment:3 Changed 7 years ago by Marshall Clow

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain az_sw_dude.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.