This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/641] Incorrect warning about befriending two template specializations (with arguments <T> and <const T>) when "T" is already a const type
- From: "neroden at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jul 2003 04:33:01 -0000
- Subject: [Bug c++/641] Incorrect warning about befriending two template specializations (with arguments <T> and <const T>) when "T" is already a const type
- References: <20001014224600.641.bh@techhouse.brown.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=641
neroden at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-05-24 22:25:06 |2003-07-12 04:33:00
date| |
------- Additional Comments From neroden at gcc dot gnu dot org 2003-07-12 04:33 -------
There is still a warning. This is the warning, since nobody mentioned it:
test.cxx: In instantiation of `item<const A>':
test.cxx:9: instantiated from here
test.cxx:2: warning: `iterator<const A>' is already a friend of `item<const A>'