
15 Jan
2015
15 Jan
'15
6:01 p.m.
On Thu, Jan 15, 2015 at 6:58 PM, Beman Dawes
On Thu, Jan 15, 2015 at 9:25 AM, Niall Douglas
wrote: On 15 Jan 2015 at 8:11, Beman Dawes wrote:
Should Boost have policy to clear these warnings?
Thoughts?
Personally I'd be opposed to setting such a policy for all libraries.
The question needs to be reformulated. We already have a policy to clear warnings in the builds of compiled libraries, and had a sprint a few years ago that eliminated most or maybe even all of those warnings.
Where I'm having a problem is headers like lexical_cast.hpp (and its implementation headers) that shadow "n", "str", and "ch". What do we tell users who don't want to turn the warnings off?
Don't use global variables (with such generic names). -- Olaf