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]

Re: c++/8448: Regression from gcc 2.96 concerning nested namespaces


> Thanks everyone: I have studied the issue and now I understand what's
> going on and why.  I only wonder if g++ is not being a bit too pedantic
> (without being asked to do so) on this rather controversial issue.

This is just a matter what the standard prescribes. I guess you would be 
surprised if some code compiled with one compiler and not with another one 
because the one decided to look at more symbols from other namespace than 
another. The usual question then also is how to deal with newly arising 
ambiguities between different symbols in different namespaces.

I guess the most proper way to get a change is to lobby the C++ standards 
committee to review the matter and come up with a solution that may then 
be implemented by all compiler vendors.

Regards
  Wolfgang

-------------------------------------------------------------------------
Wolfgang Bangerth              email:           bangerth@ticam.utexas.edu
                               www: http://www.ticam.utexas.edu/~bangerth



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