The following fails with icc but compiles fine with gcc 4.8. Any idea?
>cat foo.cc
#include <cmath>
constexpr float A_1 = std::pow (1.0,2.0);>icpc -v
icpc version 15.0.0 (gcc version 4.8.1 compatibility)>icpc -c -std=c++11 foo.cc
foo.cc(2): error: function call must have a constant value in a constant expression
constexpr float A_1 = std::pow (1.0,2.0);
^
compilation aborted for foo.cc (code 2)