Over the years I have tweaked which compiler warnings I use. There’s one in particular that I used to turn on but will turn off from now on: GCC_WARN_SHADOW. GCC_WARN_SHADOW is essentially drawing your attention to you possibly doing something other than you intended. This is like most warnings, but the difference is that the… Continue reading Against GCC_WARN_SHADOW
Tag: Building
Better Xcode warnings through .xcconfig files
Peter Hosey posted a list of warnings he turns on. Here’s the warnings I turn on. It’s mostly the same list. Rather than set these per project, I have a .xcconfig file I add to my project. I then base each build configuration off this file. Changing the .xcconfig file changes all projects based on… Continue reading Better Xcode warnings through .xcconfig files