Modify

Ticket #4952 (closed Patches: fixed)

Opened 3 years ago

Last modified 3 years ago

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

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

Change History

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

comment:1 Changed 3 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 3 years ago by marshall

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

comment:3 Changed 3 years ago by marshall

  • Status changed from new to closed
  • Resolution set to fixed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.