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

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8546: GCC 4.8 warns unused local typedef
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-04 09:29:11


#8546: GCC 4.8 warns unused local typedef
---------------------------------------------------+------------------------
  Reporter: Wei-Chiu Chuang <weichiu@…> | Owner: jsiek
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: concept_check
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
---------------------------------------------------+------------------------

Comment (by viboes):

 Hi I'm suffering from the same warnings using other libraries.

 Shouldn't this be included on boost/config/suffix.hpp


 {{{
 #if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) &&
 (__GNUC_MINOR__ >= 7)))
 # define BOOST_ATTRIBUTE_UNUSED __attribute__((unused))
 #else
 # define BOOST_ATTRIBUTE_UNUSED
 #endif
 }}}


 See #8549.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8546#comment:1>
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