http://llvm.org/bugs/show_bug.cgi?id=18798
Bug ID: 18798
Summary: clang raise error when compiling boost constant in
constexpr
Product: clang
Version: 3.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
For example, the following line:
"static constexpr double SEC3 =
static_cast<double>(45)/180*boost::math::double_constants::pi;"
gives me error
"Error - constexpr variable 'SEC3' must be initialized by a constant
expression"
But gcc compile this line just fine.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs