What's the “DNS_BLOCK_ASSERTIONS” (C compiler flag)?
-
02-10-2019 - |
Question
What's the "DNS_BLOCK_ASSERTIONS" (C compiler flag)?
Solution
The NS_BLOCK_ASSERTIONS macro (no "D") suppresses the checks performed by NSAssert. You supply it to the compiler using -DNS_BLOCK_ASSERTIONS
(see the comments for an explanation of the "D").
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow