Custom Build Errors
Hey Everyone!
This isn't really specific to WDL, but I thought I'd ask here since a lot of you guys should similar setups.
Does anyone know how to add a custom build error in Xcode? Basically what I'd like to do is have XCode throw a build error whenever there's a case in a switch statement that doesn't have a break. Since I definitely see the potential use of having fall-through cases without breaks, ideally I could add a special comment to those cases to override the error.
It's a pretty minor problem, but I've had a few debugging headaches due to it, and if what I'm imagining is easy to implement I think it'd be worth it.
I'm using Xcode 8.2.1 on macOS 10.12, and using Youlean's IPlug branch.
Cheers!
Max
|