This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16560] error with inner class declaring operator=
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jul 2004 11:52:07 -0000
- Subject: [Bug c++/16560] error with inner class declaring operator=
- References: <20040715092312.16560.larsbj@lyx.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-07-15 11:51 -------
Confirmed. Note that the compiler error refers to the operator= in class
Bar, not Bar::Item. If one removes the declaration in Bar::Item, then the
error message goes away. It looks as if someone was looking up a name in
the wrong scope.
Mark, could this be related to your push_/pop_* work?
W.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-07-15 11:52:04
date| |
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16560