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-16 19:50:54

#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 |

Comment(by Tatu Kilappa <tatu.kilappa@…>):

 The option causing the warning is indeed -Wshadow. The warnings are caused
 simply by function parameters that are of the same name as class members.

 I'm using that option all the time to prevent myself from doing anything
 stupid, but its Vladimir's library and if he disagrees, then that's pretty
 much that. Then just conclude this with 'wontfix'.

 And if thus, is there a GCC option that can have it ignore warnings inside
 certain headers or is the only option to do a lot of script magic?

Ticket URL: <>
Boost C++ Libraries <>
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