[Bug c++/22136] [4.1/4.2 regression] Rejects old-style using declaration
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jan 16 00:04:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list