Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost 1.54.0 Header Warnings: Shadowed Variables
From: Tom Browder (tom.browder_at_[hidden])
Date: 2013-11-13 06:41:01


On Tue, Nov 12, 2013 at 8:20 PM, Edward Diener <eldiener_at_[hidden]> wrote:
> On 11/12/2013 7:03 PM, Tom Browder wrote:
>> On Sat, Nov 9, 2013 at 7:08 AM, Tom Browder <tom.browder_at_[hidden]> wrote:
>>> On Sat, Nov 9, 2013 at 6:46 AM, John Maddock <john_at_[hidden]>
>>> wrote:
>>>> I suggest you file bug reports regarding any problems
>>>> you find: if the fix is trivial and they come with patches even better.
...
>> Ref the -Wshadow warning in particular: IMHO, the obstinate and
>> continued use of a shadowed name (just because one thinks one can get
>> away with it) in a well-respected library like Boost is not good for
>> business nor the author's reputation.
...
> The last sentence is a pretty personal comment.
>
> There is absolutely nothing in the C++ standard which prevents the situation
> to which you object. Why therefore bring in judgments like "obstinate", "can

Yes, there is no C++ standard objection to obfuscated code, either.
I'm just saying the Boost headers are essentially public APIs and are
very intrusive when the user turns on warnings and they light up like
a Christmas tree--not good for business or the user's confidence.

Best regards,

-Tom


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net