------- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-12 23:11 ------- The C++ standard changed to allow this after we (GCC) decided that we should follow the C++ standard. Anyways this is a dup of bug 25950.
*** This bug has been marked as a duplicate of 25950 *** -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE Summary| error: ' error: |error: ' error: |'MyClass::MyClass(const |'MyClass::MyClass(const |MyClass&)' is private |MyClass&)' is private |error: within this context |error: within this context http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28365