On Mon, 24 Jan 2022 10:20:24 +1300
Michael Barker <mike...@gmail.com> wrote:

> When compiling with clang using -Wall (or -Wgcc-compat) the use of
> diagnose_if kicks up a warning:
> 
> .../include/rte_interrupts.h:623:1: error: 'diagnose_if' is a clang
> extension [-Werror,-Wgcc-compat]
> __rte_internal
> ^

Which clang version is this?
Perhaps the allow internal API could use a different attribute that
could work in both cases?

Reply via email to