views:

224

answers:

1

What's the "DNS_BLOCK_ASSERTIONS" (C compiler flag)?

+5  A: 

The NS_BLOCK_ASSERTIONS (no "D") suppresses the checks performed by NSAssert. You supply them to the compiler using -DNS_BLOCK_ASSERTIONS.

Marcelo Cantos
Just to clarify, `-D` defines a constant, and it is one of the confusing flags that doesn't have a space between it and it's parameter.
Matthew Scharley
Clear! Thanks very much!
Eonil