Opened 13 years ago

Last modified 12 years ago

#4015 closed Patches

[PATCH] boost/program_options gcc warning cleanup — at Initial Version

Reported by: Tatu Kilappa <tatu.kilappa@…> Owned by: Vladimir Prus
Milestone: Boost 1.43.0 Component: program_options
Version: Boost Development Trunk Severity: Cosmetic
Keywords: gcc warning Cc:

Description

Patch to clean up excessive gcc 4.x warning barf.

To reproduce, compile any program_options-using program with: -Wall -Wcast-align -Wconversion -Wdisabled-optimization -Werror=return-type -Wextra -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wno-multichar -Wpacked -Wredundant-decls -Wshadow -Wswitch-default -Wundef -Wwrite-strings -Wctor-dtor-privacy -Werror=non-virtual-dtor -Woverloaded-virtual

Attached patch fixes the issue.

Change History (1)

by Tatu Kilappa <tatu.kilappa@…>, 13 years ago

Note: See TracTickets for help on using tickets.