Xcode 4 disables the fix-it popup

I'm fine with Xcode 4 telling me I have a bug. But this popup almost always has the wrong solution. Is there any way to get rid of him forever?

+6
source share
1 answer

From what I saw, it looks like you might need to disable the different types of alerts one by one. The list can be found here:

http://developer.apple.com/library/mac/#documentation/DeveloperTools/gcc-4.0.1/gcc/Warning-Options.html#Warning-Options

To change them:

Raise the project navigator and select your project. In the main window that appears, select "All." Under LLVM 2.0 Compiler - Alerts, select Other Warning Flags. Add the "Wno-idiomatic-parentheses" flag for "Debug" and "Release". Now clean and recompile (from if (self = [super init]) - LLVM warning! How do you handle this?

In the apple dev link, I noticed that the following parameter should block all warnings:

-w Inhibit all warning messages. 
+1
source

Source: https://habr.com/ru/post/894606/


All Articles