Is there any way to suppress Compiler warnings ??
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you don’t want to see them in Xcode, you can suppress them by right-clicking on a source window and selecting Message Bubbles | Errors Only. There will still be a little warning symbol next to the line, but the text of the warnings will not appear.
You can prevent the compiler from generating warnings by opening the project info window and going to the build tab. There is an Inhibit All Warnings checkbox under the GCC #.# – Warnings section. That looks like it will do what you want.
If you’re building from the command line, you might try these switches:
I’ve never tried those switches. They were listed in the help area in the project info window.
But the best solution, of course, is to figure out why your code has warnings and fix it.