开发者

Xcode 4 disable "fix-it" popup

开发者 https://www.devze.com 2023-03-26 16:02 出处:网络
I\'m fine with Xcode 4 telling me that I have an error.But that pop-up pretty much always has the wro开发者_如何学JAVAng solution.Is there any way I can get rid of it permanently?From what I\'ve seen,

I'm fine with Xcode 4 telling me that I have an error. But that pop-up pretty much always has the wro开发者_如何学JAVAng solution. Is there any way I can get rid of it permanently?


From what I've seen, it looks like you may need to disable the various types of warnings one by one. A list is found here:

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

To change them:

Bring up the project navigator and choose your project. In the main window that appears, choose "All". Under the section "LLVM compiler 2.0 - Warnings", choose "Other Warning Flags". Add the flag "Wno-idiomatic-parentheses" for both "Debug" and "Release." Now clean and recompile ( from if(self = [super init]) - LLVM warning! How are you dealing with it?)

I noted in the apple dev link that the following option should inhibit all warnings:

-w Inhibit all warning messages. 
0

精彩评论

暂无评论...
验证码 换一张
取 消