Opened 10 years ago
Last modified 10 years ago
#7673 closed Support Requests
BOOST_RATIO_STATIC_ASSERT: constant "X" is not a type name — at Version 1
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | To Be Determined | Component: | ratio |
Version: | Boost 1.52.0 | Severity: | Problem |
Keywords: | Cc: |
Description (last modified by )
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, ()); ^
Change History (1)
comment:1 by , 10 years ago
Description: | modified (diff) |
---|---|
Milestone: | Boost 1.52.0 → To Be Determined |
Severity: | Showstopper → Problem |
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Well X is defined as a parameter
I don't know how to fix this other than commenting the line for your compiler. Patches are welcome. Please provide the explicit compiler version.