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++/641] Incorrect warning about befriending two template specializations (with arguments <T> and <const T>) when "T" is already a const type


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


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