Opened 7 years ago

Closed 7 years ago

#11634 closed Bugs (fixed)

"unused parameter" warnings from vector.hpp (develop branch head)

Reported by: lopresti@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: container
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

With all warnings enabled, my builds (clang++ -Wall -Werror) are failing with "unused parameter 'x'" warnings in boost/container/vector.hpp.

I can see this has been fixed on the "develop" branch for the steal_resources() function, but it still exists for the nearby swap_resources() function.

Trivial patch against develop is attached.

Attachments (1)

unused-argument.patch (581 bytes ) - added by lopresti@… 7 years ago.
Trivial patch to fix unused parameter warning

Download all attachments as: .zip

Change History (2)

by lopresti@…, 7 years ago

Attachment: unused-argument.patch added

Trivial patch to fix unused parameter warning

comment:1 by Ion Gaztañaga, 7 years ago

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