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

* [Bug libstdc++/63343] g++ accepts incompatible iterator assignemt
  2014-09-23 13:49 [Bug libstdc++/63343] New: g++ accepts incompatible iterator assignemt pluto at agmk dot net
@ 2014-09-23 19:53 ` redi at gcc dot gnu.org
  2014-09-23 21:31 ` pluto at agmk dot net
  1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2014-09-23 19:53 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is a Good Thing.

See PR62169 and
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2913.pdf


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

* [Bug libstdc++/63343] g++ accepts incompatible iterator assignemt
  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
  1 sibling, 0 replies; 3+ messages in thread
From: pluto at agmk dot net @ 2014-09-23 21:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Pawel Sikora <pluto at agmk dot net> ---
release code is scary,
debug code is broken,
nightmare :>


^ 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).