[PATCH] D70285: Wrap C APIs with pragmas enforcing -Werror=strict-prototypes
Duncan P. N. Exon Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 19 13:01:58 PST 2019
dexonsmith added a comment.
In D70285#1752164 <https://reviews.llvm.org/D70285#1752164>, @Bigcheese wrote:
> lgtm as long as other compilers don't warn on unknown pragmas by default.
godbolt.org says that GCC doesn't have `-Wunknown-pragmas` by default, but it is in `-Wall`. I'd better guard this more closely with `__clang__`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70285/new/
https://reviews.llvm.org/D70285
More information about the cfe-commits
mailing list