This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22136] [4.1/4.2 regression] Rejects old-style using declaration
- From: "bangerth at math dot tamu dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jan 2006 00:10:37 -0000
- Subject: [Bug c++/22136] [4.1/4.2 regression] Rejects old-style using declaration
- References: <bug-22136-102@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from bangerth at math dot tamu dot edu 2006-01-16 00:10 -------
Subject: Re: [4.1/4.2 regression] Rejects old-style using
declaration
> For the original submitter: ARM-style access declarations (e.g.,
> "I<T>::B::foo;") are deprecated in current C++. The preferred way to write the
> code is now "using I<T>::B::foo;", and that additional contextual information
> avoids the bug in G++ as well. So, the best immediate workaround is to insert
> the "using" keyword.
That is of course exactly what I did :-)
I don't particularly care about this bug, we've already fixed this in our
sources. I do not know, however, how many people use older versions of our
library with newer compilers.
Best
Wolfgang
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@math.tamu.edu
www: http://www.math.tamu.edu/~bangerth/
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22136