[Bug libstdc++/45093] Different definitions of _Rb_tree::{erase,_M_destroy_node} between C++98 and C++0x

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 13 18:55:00 GMT 2018


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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Aug 13 18:54:43 2018
New Revision: 263516

URL: https://gcc.gnu.org/viewcvs?rev=263516&root=gcc&view=rev
Log:
PR libstdc++/45093 avoid warnings for _M_destroy_node

        PR libstdc++/45093
        * include/bits/stl_tree.h (_Rb_tree::_M_destroy_node(_Link_type)):
        Combine definitions to avoid --detect-odr-violations warning.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_tree.h


More information about the Gcc-bugs mailing list