phoganuci
phoganuci

Reputation: 5064

How do I suppress all error messages in an iOS project?

I have included a static library subproject that has over 1000 warning messages that, after testing, appear to be inconsequential to the overall project. How can I suppress these messages for this subproject that I don't intend to touch?

Upvotes: 0

Views: 137

Answers (1)

Gustavo Barcena
Gustavo Barcena

Reputation: 396

One way to do this is to add -w (lowercase) to your warning flags.

Here is a link: http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

Upvotes: 1

Related Questions