bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/30758] ODR violations in opcodes dir


From: vries at gcc dot gnu.org
Subject: [Bug binutils/30758] ODR violations in opcodes dir
Date: Thu, 17 Aug 2023 11:04:55 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30758

--- Comment #8 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #7)
> I'm not sure if the warning makes sense, but I imagine doing the unnamed
> namespace trick in the opcodes headers alongside the extern "C" stuff would
> fix this.

It doesn't, and besides that it's an anti-pattern (
https://rules.sonarsource.com/cpp/RSPEC-1000/ ).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]