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 14:26:46


#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 pmachata@…):

 There's also one suspicious (unused) typedef in
 libs/math/test/compile_test/test_compile_result.hpp:
 {{{
 template <class T1, class T2>
 inline void check_result_imp(T1, T2)
 {
    typedef int static_assertion[sizeof(T1) == 0xFFFF];
 }
 }}}
 That's kind of reminiscent of static assert, but that should be something
 like [-(sizeof(T1) == 0xFFFF)] instead. In any case, it's not clear to me
 what the condition itself is meant to test.

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