Hi Timm, On Wed, 2021-02-17 at 10:27 +0100, Timm Bäder via Elfutils-devel wrote: > From: Timm Bäder <tbae...@redhat.com> > > Clang does not support this warning, so check for compiler support > before using it.
It is somewhat unfortunate that we need to check for -Wno- acceptance with clang. gcc also doesn't support this warning in all versions, in the versions that do, it is enabled by -Wall. gcc -Wno-foobarbaz however is always accepted. The idea is that it is easy to not warn for something, even if you don't know what something is :) Anyway, if it is necessary for some compilers then lets add the extra check. Added ChangeLog entries and pushed. Cheers, Mark