https://sourceware.org/bugzilla/show_bug.cgi?id=30758
--- Comment #5 from Alan Modra <amodra at gmail dot com> --- I'm guessing that it is the use of opcodes cgen headers in gdb itself that is triggering these warnings, not the use of those headers in opcodes. I think I'd be looking at gdb/mep-tdep.c and gdb/or1k-tdep.c, perhaps trying to replace use of cgen types in structs defined there by void*. Does it even make sense for g++ to complain about odr violations in extern "C" headers? -- You are receiving this mail because: You are on the CC list for the bug.