------- Comment #14 from mmitchel at gcc dot gnu dot org 2006-01-16 00:04 ------- Created an attachment (id=10650) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10650&action=view) Patch that disallows nested-name-specifiers for constructors when in class scope.
This patch is not recommended, but it does seem to work, modulo the fact that it makes this code fail even with -fpermissive: struct S { S::S(); }; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22136