Opened 15 years ago

Closed 14 years ago

#1770 closed Patches (fixed)

[filesystem] GCC -Wshadow warnings

Reported by: Gordon Magnusson <gordon.magnusson@…> Owned by: Beman Dawes
Milestone: Boost 1.36.0 Component: filesystem
Version: Boost 1.35.0 Severity: Problem
Keywords: shadow Cc:

Description

boost/filesystem/path.hpp triggers GCC -Wshadow warnings due to its use of "what", "path1", and "path2" as parameter names, when basic_filesystem_error contains identically-named member functions. The trivial attached patch fixes this.

Attachments (1)

boost-1.35.0.patch (2.6 KB ) - added by Gordon Magnusson <gordon.magnusson@…> 15 years ago.

Download all attachments as: .zip

Change History (2)

by Gordon Magnusson <gordon.magnusson@…>, 15 years ago

Attachment: boost-1.35.0.patch added

comment:1 by Beman Dawes, 14 years ago

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