[Boost-bugs] [Boost C++ Libraries] #7673: BOOST_RATIO_STATIC_ASSERT: constant "X" is not a type name

Subject: [Boost-bugs] [Boost C++ Libraries] #7673: BOOST_RATIO_STATIC_ASSERT: constant "X" is not a type name
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-09 17:02:03


#7673: BOOST_RATIO_STATIC_ASSERT: constant "X" is not a type name
---------------------------------+------------------------------------------
 Reporter: kindr@… | Owner: viboes
     Type: Support Requests | Status: new
Milestone: Boost 1.52.0 | Component: ratio
  Version: Boost 1.52.0 | Severity: Showstopper
 Keywords: |
---------------------------------+------------------------------------------
 Whily compiling a code with icc that uses boost, I get this error:

 /home/ac/sroy8/boost_1_52_0/boost/ratio/detail/overflow_helpers.hpp(77):
 error: constant "X" is not a type name
         BOOST_RATIO_STATIC_ASSERT(X <= max - Y ,
 BOOST_RATIO_OVERFLOW_IN_ADD, ());
         ^

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