[swift-users] #if DEBUG on Linux
cktung at mac.com
Sun Aug 20 22:50:10 CDT 2017
see the duscussion
> Taylor Swift via swift-users <swift-users at swift.org>
> #if DEBUG
> Doesn’t work on Linux, I think only XCode sets this. How can I conditionally include code that only runs in debug mode on Linux?
> I know about `_isDebugAssertConfiguration()` but using it produces warnings when building in release mode.
> swift-users mailing list
> swift-users at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users