This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11158] Annoying warning message
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2003 18:52:18 -0000
- Subject: [Bug c++/11158] Annoying warning message
- References: <20030611184627.11158.emild@collectivestudios.com>
- 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=11158
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From pinskia@physics.uc.edu 2003-06-11 18:52 -------
Yes it does make sense because according to the C++ standard, it does not know if
std::vector<T>::iterator is really a type because of the template (and because you can still
overload the class for a certain T and have iterator be a `static int') and a future version of
gcc (3.4) will not compile this code.