Xcode: suppressing specific warning

Viewed 1516

To disable compiler warning I go to Project -> Target -> Build Settings and add flag

-w

for specific file. This flag disables all warnings.

But my intention is to exclude a specific warning, not all. I found a solution like this:

-Wnodeprecated-declarations

where deprecated-declarations is a specific warning id.

How can I determine which id has a specific warning? (In my Xcode only warning description is displayed)

0 Answers
Related