The warning is due to a change in behaviour in Clang 10 and newer: https://releases.llvm.org/10.0.0/tools/clang/docs/ReleaseNotes.html#c-language-changes-in-clang This was already fixed for clang++, but not for clang for some reason. It was also fixed incorrectly; by adding `extern` instead of moving from `-Werror` to `-Werror=attributes`.pull/7001/head
parent
b61e037e93
commit
dc19b13202
4 changed files with 18 additions and 6 deletions
Loading…
Reference in new issue