This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/22136] [4.1/4.2 regression] Rejects old-style using declaration



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]