https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97854
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain D Sandoe <ia...@gcc.gnu.org>: https://gcc.gnu.org/g:814e016318646d06b1662219cc716d502b76d8ce commit r11-5065-g814e016318646d06b1662219cc716d502b76d8ce 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.