I'm looking for a compliler flag to disable the GCC #warning
directive in Debug targets but not release targets. Does anyone know of a w开发者_如何学Cay to do this?
You could define NDEBUG for release builds and make the #warning conditional upon that?
I'm looking for a compliler flag to disable the GCC #warning
directive in Debug targets but not release targets. Does anyone know of a w开发者_如何学Cay to do this?
You could define NDEBUG for release builds and make the #warning conditional upon that?
精彩评论