This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19189] A derived template cannot access base template members without using this
- From: "amos at ilogix dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Dec 2004 07:32:59 -0000
- Subject: [Bug c++/19189] A derived template cannot access base template members without using this
- References: <20041229143046.19189.amos@ilogix.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From amos at ilogix dot com 2004-12-30 07:32 -------
(In reply to comment #3):
I agree that this is the expected behavior, although such a change, without any
backward compatibility, makes it hard to upgrade to a new version of the compiler.
In our specific case, we provide a generic library and a client that tried to
upgrade found the error and didn't understand why (they didn't read the release
notes as well). Also the error message doesn't help you to understand that this
is a deliberate change.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19189