This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28365] error: ' error: 'MyClass::MyClass(const MyClass&)' is private error: within this context
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jul 2006 23:11:35 -0000
- Subject: [Bug c++/28365] error: ' error: 'MyClass::MyClass(const MyClass&)' is private error: within this context
- References: <bug-28365-12946@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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