开发者

Is there a way to disable #warning in LLVM GCC 4.2 from causing a warning in certain Targets

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜