Re: [Boost-bugs] [Boost C++ Libraries] #4015: [PATCH] boost/program_options gcc warning cleanup

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4015: [PATCH] boost/program_options gcc warning cleanup
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-15 21:24:52


#4015: [PATCH] boost/program_options gcc warning cleanup
---------------------------------------------------+------------------------
 Reporter: Tatu Kilappa <tatu.kilappa@…> | Owner: vladimir_prus
     Type: Patches | Status: new
Milestone: Boost 1.43.0 | Component: program_options
  Version: Boost Development Trunk | Severity: Cosmetic
 Keywords: gcc warning |
---------------------------------------------------+------------------------

Old 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.

New 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.

--
Comment(by marshall):
 Really?  I would have guessed -Winit_self.
-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4015#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC