]>
git.saurik.com Git - apple/objc4.git/blob - test/include-warnings.c
72990e2399f63068c05f75db968bae9abb024b0a
3 $C{COMPILE} $DIR/include-warnings.c -o include-warnings.exe -Wsystem-headers -Weverything -Wno-undef -Wno-old-style-cast -Wno-nullability-extension 2>&1 | grep -v 'In file' | grep objc || true
11 // Detect warnings inside any header.
12 // The build command above filters out warnings inside non-objc headers
13 // (which are noisy with -Weverything).
14 // -Wno-undef suppresses warnings about `#if __cplusplus` and the like.
15 // -Wno-old-style-cast is tough to avoid in mixed C/C++ code.
16 // -Wno-nullability-extension disables a warning about non-portable
17 // _Nullable etc which we already handle correctly in objc-abi.h.