https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90893
Bug ID: 90893 Summary: ODR violation Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: hubicka at gcc dot gnu.org Target Milestone: --- LTO bootstrap warns on ../../gcc/d/runtime.cc:37:6: warning: type ‘libcall_type’ violates the C++ One Definition Rule [-Wodr] 37 | enum libcall_type | ^ ../../gcc/rtl.h:4112:6: note: an enum with different value name is defined in another translation unit 4112 | enum libcall_type | ^ which is legitimate warning - there are two unrelated enums libcall_type and one should be renamed or put into a namespace.