[Bug libstdc++/31247] std::vector::iterator::value_type is accessible

chris at bubblescope dot net gcc-bugzilla@gcc.gnu.org
Sun Mar 9 20:29:00 GMT 2008



------- Comment #9 from chris at bubblescope dot net  2008-03-09 20:28 -------
Sorry to be pedantic, but could this be added to _GLIBCXX_DEBUG_PEDANTIC. I've
previously tended to assume that _GLIBCXX_DEBUG should change only flag code
that should fail in non-debug mode, but fails to be detected, whereas
_GLIBCXX_DEBUG_PEDANTIC ensures that the code is standards compliant.

On another note, could this be added when just -pedantic is added? I think it's
a useful flag to add, I'm just trying to avoid having to change a bunch of
working, although non standards-complaint code :)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31247



More information about the Gcc-bugs mailing list