public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/63343] New: g++ accepts incompatible iterator assignemt
@ 2014-09-23 13:49 pluto at agmk dot net
  2014-09-23 19:53 ` [Bug libstdc++/63343] " redi at gcc dot gnu.org
  2014-09-23 21:31 ` pluto at agmk dot net
  0 siblings, 2 replies; 3+ messages in thread
From: pluto at agmk dot net @ 2014-09-23 13:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63343

            Bug ID: 63343
           Summary: g++ accepts incompatible iterator assignemt
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pluto at agmk dot net

hi, the current g++ accepts incompatible iterator assignment.

#include <map>
int main()
{
    std::map< int, int > m;
    std::multimap< int, int >::iterator i = m.end();
}

only with _GLIBCXX_DEBUG there's an expected build error.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-23 21:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-23 13:49 [Bug libstdc++/63343] New: g++ accepts incompatible iterator assignemt pluto at agmk dot net
2014-09-23 19:53 ` [Bug libstdc++/63343] " redi at gcc dot gnu.org
2014-09-23 21:31 ` pluto at agmk dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).