Xcode has an option to set compiler flags for each file:
- In the Project Navigator panel, click on your project
- Choose the goal you are building for:
- Select the Phase Assembly tab
- Scroll down and expand the Compilation Sources phase
- Find the Compilers column
- Set the compiler flag to -w for the file you want to suppress for
pepsi source share