This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18604] [3.4/4.0/4.1 Regression] Strong using lookup conflicts
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 May 2005 09:04:52 -0000
- Subject: [Bug c++/18604] [3.4/4.0/4.1 Regression] Strong using lookup conflicts
- References: <20041122050208.18604.giovannibajo@libero.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-05-09 09:04 -------
> - Fully qualify all references to std names from code within namespace
> _GLIBCXX_STD (which expands to __gnu_norm in debug mode). This is hard because
> it's impossible to fully check it, and it's pervasive. E.g. bits/stl_set.h:69,
> use "std::less" instead of "less".
Actually, this is already the case (modulo mistakes): we did this work a lot
of time ago, *before* the strong using work. The only remaining occurrences of
unqualified names are fixed as we find them (Jonathan is doing a great job
here, and in fact he uses debug mode) or are there for a reason: if I remember
correctly, this is the case of less<>. I'm pretty sure Gaby said something.
Gaby? In case fixing that would be trivial, of course.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |gdr at integrable-solutions
| |dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18604