Opened 13 years ago

Closed 12 years ago

#4016 closed Patches (fixed)

[PATCH] boost/property_tree gcc warning cleanup

Reported by: Tatu Kilappa <tatu.kilappa@…> Owned by: Sebastian Redl
Milestone: Boost 1.43.0 Component: property_tree
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 property_tree-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.

Attachments (1)

boost_property_tree_gcc_warning_cleanup.diff (26.1 KB ) - added by Tatu Kilappa <tatu.kilappa@…> 13 years ago.

Download all attachments as: .zip

Change History (2)

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

comment:1 by Sebastian Redl, 12 years ago

Resolution: fixed
Status: newclosed

(In [61609]) Fix a huge bunch of useless GCC warnings. Fixes bug 4016.

Note: See TracTickets for help on using tickets.