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

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8855: [math] GCC 4.8+ warns unused local typedef...
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-22 23:02:03


#8855: [math] GCC 4.8+ warns unused local typedef...
--------------------------------------------+-------------------------
  Reporter: Chris Stylianou <chris5287@…> | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: math
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------+-------------------------

Comment (by Petr Machata <pmachata@…>):

 In that case I'd go with something like sizeof(T1) != sizeof(T1), as
 that's guaranteed to fail. But I don't know the code, 0xFFFF may be just
 as impossible.

 I guess the warning is no big deal, since this is for test suite only, but
 still, it would be nice to have the BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE
 copied over from static_assert.hpp.

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