Re: [Boost-bugs] [Boost C++ Libraries] #1464: boost_range_array unused in several array_size() functions

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1464: boost_range_array unused in several array_size() functions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-02-07 20:31:13


#1464: boost_range_array unused in several array_size() functions
--------------------------------+-------------------------------------------
  Reporter: sparent_at_[hidden] | Owner: nesotto
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: range
   Version: Boost 1.34.1 | Severity: Cosmetic
Resolution: | Keywords:
--------------------------------+-------------------------------------------
Comment (by sparent_at_[hidden]):

 gcc with -Wunused or -Wall (you can ask Mat Marcus for the bjam file if
 you would like) - our teams compile with all warnings on and warnings as
 errors. Here is the patch.

 Sean
 ----

 p4 diff '//boost_libraries/boost/range/detail/implementation_help.hpp#3'
 ==== //boost_libraries/boost/range/detail/implementation_help.hpp#3 -
 /Users/sparent/development/projects/boost_libraries/boost/range/detail/implementation_help.hpp
 ====
 112a113,120
> /*
> ADOBE (sparent_at_[hidden]) 1464 : Using unused parameter to
 silence warnings.
> */
> template <typename T>
> inline void adobe_boost_range_size_unused(const T&) { }
> /*
> END ADOBE
> */
 116a125,131
> /*
> ADOBE (sparent_at_[hidden]) 1464 : Using unused parameter to
 silence warnings.
> */
> adobe_boost_range_size_unused(boost_range_array);
> /*
> END ADOBE
> */
 122a138,144
> /*
> ADOBE (sparent_at_[hidden]) 1464 : Using unused parameter to
 silence warnings.
> */
> adobe_boost_range_size_unused(boost_range_array);
> /*
> END ADOBE
> */
 128a151,157
> /*
> ADOBE (sparent_at_[hidden]) 1464 : Using unused parameter to
 silence warnings.
> */
> adobe_boost_range_size_unused(boost_range_array);
> /*
> END ADOBE
> */
 134a164,170
> /*
> ADOBE (sparent_at_[hidden]) 1464 : Using unused parameter to
 silence warnings.
> */
> adobe_boost_range_size_unused(boost_range_array);
> /*
> END ADOBE
> */

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1464#comment:4>
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:49:57 UTC