[cfe-dev] About Clang Warning

David Blaikie via cfe-dev cfe-dev at lists.llvm.org
Wed Jun 10 10:40:07 PDT 2020


-Wno-everything -Wformat-pedantic might work

On Tue, Jun 9, 2020 at 11:27 PM 1789955632 via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
>
> I'm using Clang/scan-build xcodebuild to build Objective-C projects, There are many warnings such as [-Wgnu-conditional-omitted-operand] warning log. I want to disable other all warnings but let one warning like [-Wformat-pedantic] leaved. There is an option -w to suppress all warnings, but add adition -Wformat-pedantic flag after -w, it is not worked, no warning is print. Is there any suggest?
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


More information about the cfe-dev mailing list