[PATCH] D122983: [C11/C2x] Change the behavior of the implicit function declaration warning
Dávid Bolvanský via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 2 11:37:35 PDT 2022
xbolva00 added inline comments.
================
Comment at: clang/docs/ReleaseNotes.rst:114
+- The ``-Wimplicit-function-declaration`` warning diagnostic now defaults to
+ emitting an error (which can be downgraded with ``-Wno-error``) in C11 and
+ C17 mode. This is because the feature was removed in C99 and cannot be
----------------
I would mention explicitly -Wno-error= implicit-function-declaration as -Wno-error is a big hammer.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122983/new/
https://reviews.llvm.org/D122983
More information about the cfe-commits
mailing list