Ticket #4952 (closed Patches: fixed)

Opened 6 years ago

Last modified 6 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:


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


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

Change History

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

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

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

comment:3 Changed 6 years ago by marshall

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

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


Add a comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.