[Boost-bugs] [Boost C++ Libraries] #8723: [CONCEPT_CHECK] GCC 4.8 warns unused local typedef

Subject: [Boost-bugs] [Boost C++ Libraries] #8723: [CONCEPT_CHECK] GCC 4.8 warns unused local typedef
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-24 17:57:47


#8723: [CONCEPT_CHECK] GCC 4.8 warns unused local typedef
-------------------------------------+---------------------------
 Reporter: chris5287@… | Owner: jsiek
     Type: Bugs | Status: new
Milestone: Boost 1.54.0 | Component: concept_check
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+---------------------------
 GCC 4.8+ warns unused local typedef...

 {{{#!c++
 ./boost/concept/detail/general.hpp:71:20: warning: typedef
 â€˜boost_concept_check173’ locally defined but not used [-Wunused-local-
 typedefs]
        BOOST_PP_CAT(boost_concept_check,__LINE__)
 }}}

 Could we suppress the warning by append '!__attribute!__((unused))'

 {{{#!c++
 ./boost/concept/detail/general.hpp:71
       BOOST_PP_CAT(boost_concept_check,__LINE__) __attribute__((unused));
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8723>
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:50:13 UTC