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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Iain D Sandoe
<ia...@gcc.gnu.org>:

https://gcc.gnu.org/g:5dd5507265e3b7fecd775a106a20762a5e828421

commit r10-10805-g5dd5507265e3b7fecd775a106a20762a5e828421
Author: Iain Sandoe <i...@sandoe.co.uk>
Date:   Mon Nov 16 19:33:35 2020 +0000

    C-family : Fix a C++ ODR violation [PR97854].

    The changes in r11-4799 introduced a dummy enum rid type with
    a different initial member name to the actual version (an ODR
    violation).  Fixed by including the header declaring the
    actual type.

    gcc/c-family/ChangeLog:

            PR objc/97854
            * stub-objc.c: Include c-common.h to declare enum rid.

    (cherry picked from commit 814e016318646d06b1662219cc716d502b76d8ce)

Reply via email to