[PATCH] D122983: [C11/C2x] Change the behavior of the implicit function declaration warning
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 20 18:10:51 PDT 2022
MaskRay added subscribers: Meinersbur, MaskRay.
MaskRay added a comment.
In D122983#3463521 <https://reviews.llvm.org/D122983#3463521>, @nemanjai wrote:
> This is still causing failures when building `test-suite`:
> Why don't we just turn off this warning for the entire `test-suite` since I don't expect we want to modify the tests (as some of them have licenses that probably don't allow us to modify them)?
> We could do something like this:
> diff --git a/CMakeLists.txt b/CMakeLists.txt
> index 8d76a45c7..032281ecf 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -47,6 +47,7 @@ set(LLVM_CODESIGNING_IDENTITY "" CACHE STRING
> "Sign executables and dylibs with the given identity or skip if empty (Darwin Only)")
> option(TEST_SUITE_SUPPRESS_WARNINGS "Suppress all warnings" ON)
Adding a global `-Wno-implicit-function-declaration` looks good. @Meinersbur
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits