------- Comment #2 from pinskia at gcc dot gnu dot org 2010-07-24 22:11 ------- There is no work around because double is not a valid integer constant expression and because you cannot class initialize a static const double variable.
Also this is not the right place to ask questions like this. You should use a C++ forum for how to fix your code. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44225