[Bug lto/87905] structures in two different cpp source files with same name get flagged by ODR warning

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 6 15:04:00 GMT 2018


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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
As a workaround wrap the offending code in an anonymous namespace.


More information about the Gcc-bugs mailing list