Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Turn off warnings coming from subprojects

Tags:

Can someone help me to turn off warnings in Xcode 4 that I'm getting from subprojects?

I have three subprojects, with a lot of warnings. The subprojects are provide by my customer's R&D studio. I would like to turn off the warnings there, to put all my efforts and attention on warnings in my own code.

This the xcode warning counter now

Is this possibile in Xcode 4?

like image 336
Luca Bartoletti Avatar asked Aug 07 '12 07:08

Luca Bartoletti


People also ask

How do I turn off error warnings?

You can make specific warnings being treated as such by using -Wno-error=<warning name> where <warning name> is the name of the warning you don't want treated as an error. If you want to entirely disable all warnings, use -w (not recommended).

How do you suppress warnings in VS code?

Choose Build, and go to the Errors and warnings subsection. In the Suppress warnings or Suppress specific warnings box, specify the error codes of the warnings that you want to suppress, separated by semicolons.


1 Answers

If you're using Xcode 4.2 or later, you can use LLVM compiler setting Inhibit All Warnings in Warning Polices for every subproject you have:

enter image description here

like image 193
Johnnywho Avatar answered Oct 04 '22 17:10

Johnnywho