This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: new warnings from basic_string
larsbj@gullik.net (Lars Gullik BjÃnnes) writes:
> Paolo Carlini <pcarlini@suse.de> writes:
>
> | Lars Gullik BjÃnnes wrote:
> >
> >>Seems that _GLIBCXX_DEBUG is now required to trigger it.
> >>
> >>#define _GLIBCXX_DEBUG 1
> >>
> >>#include <map>
> >>
> >>void foo()
> >>{
> >> typedef std::map<int, int> MangledMap;
> >> MangledMap mangledNames;
> >> MangledMap::const_iterator it = mangledNames.find(0);
> >>}
> >>
> | Yes, I can reproduce this: can you please file a complete Bugzilla PR?
> | And add in CC, Ian Lance Taylor (ian@airs.com)
>
> Sure. Won't be until tomorrow evening though.
I have already submitted a patch which I believe will fix this test
case.
Ian