[Bug c++/35571] `static function member` cannot appeat in a constant-expression.

2008-03-14 Thread pluto at agmk dot net
--- Comment #5 from pluto at agmk dot net 2008-03-14 08:49 --- (In reply to comment #3) > Doing: > typedef X F; > > > Fixes the error message. > oh, so the comeau accepts invalid code :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35571

[Bug c++/35571] `static function member` cannot appeat in a constant-expression.

2008-03-13 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-03-13 16:38 --- *** This bug has been marked as a duplicate of 35167 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/35571] `static function member` cannot appeat in a constant-expression.

2008-03-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-03-13 16:36 --- Doing: typedef X F; Fixes the error message. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35571

[Bug c++/35571] `static function member` cannot appeat in a constant-expression.

2008-03-13 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2008-03-13 15:35 --- 4.1.3, msvc8 and comeau accept this code. -- pluto at agmk dot net changed: What|Removed |Added K

[Bug c++/35571] `static function member` cannot appeat in a constant-expression.

2008-03-13 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2008-03-13 15:33 --- *** Bug 35570 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35571