[Boost-bugs] [Boost C++ Libraries] #13015: Several "declaration hides member" warnings in Boost random

Subject: [Boost-bugs] [Boost C++ Libraries] #13015: Several "declaration hides member" warnings in Boost random
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-05-08 10:00:07


#13015: Several "declaration hides member" warnings in Boost random
------------------------------+---------------------------
 Reporter: thimo.neubauer@… | Owner: no-maintainer
     Type: Patches | Status: new
Milestone: To Be Determined | Component: random
  Version: Boost 1.63.0 | Severity: Cosmetic
 Keywords: |
------------------------------+---------------------------
 In our nightly builds with the Intel Compiler 2016.3 we're getting
 multiple warnings in the style of:

 {{{
 In file included from
 /build/MAIN/Third_Party_Libraries/Boost/include/boost/random/ranlux.hpp(19),
                  from
 /build/MAIN/Third_Party_Libraries/Boost/include/boost/random.hpp(44),
                  from
 /build/MAIN/Source_Code/Test/CSTlibTester/Datagram.cpp(4):
 /build/MAIN/Third_Party_Libraries/Boost/include/boost/random/subtract_with_carry.hpp(247):
 warning #3280: declaration hides member
 "boost::random::subtract_with_carry_engine<IntType, w, s, r>::x" (declared
 at line 303)
       friend bool operator==(const subtract_with_carry_engine& x, const
 subtract_with_carry_engine& y)
 }}}

 The warnings are pretty easy to fix, I'll attach a patch relative to Boost
 1.60.0 (the version we're using)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/13015>
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-05-08 10:06:20 UTC