[Bug c++/44225] Workaround for error: ... cannot appear in a constant-expression

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- 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.

[Bug c++/44225] Workaround for error: ... cannot appear in a constant-expression

2010-05-20 Thread tuschjan at yahoo dot de
--- Comment #1 from tuschjan at yahoo dot de 2010-05-21 06:32 --- Created an attachment (id=20717) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20717&action=view) demo source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44225