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

--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jonathan Wakely
<r...@gcc.gnu.org>:

https://gcc.gnu.org/g:18e4119b23175e2de2fecdaae052c5a8729d9f56

commit r9-9361-g18e4119b23175e2de2fecdaae052c5a8729d9f56
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Sat Oct 10 21:22:12 2020 +0100

    libstdc++: Replace use of reserved name that clashes [PR 97362]

    The name __deref is defined as a macro by Windows headers.

    This renames the __deref() helper function to __ref. It doesn't actually
    dereference an iterator. it just has the same type as the iterator's
    reference type.

    libstdc++-v3/ChangeLog:

            PR libstdc++/97362
            * doc/html/manual/source_code_style.html: Regenerate.
            * doc/xml/manual/appendix_contributing.xml: Add __deref to
            BADNAMES.
            * include/debug/functions.h (_Irreflexive_checker::__deref):
            Rename to __ref.

    (cherry picked from commit 2137aa92412da363d52ef699987441be28b239d0)

Reply via email to