clang是否具有GNU GCC的预处理指令等效?
With GNU/GCC there is exists a preprocessor assertion directive feature that takes the form:
#predicate (answer)
See GCC Assertions.
Does the Clang compiler/preprocessor have an equivalent feature?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
否。使用特定于环境的预定宏,例如
__ Linux __
或__ x86_64 __
等。No. Use predefined macros specific to the environment, like
__linux__
or__X86_64__
etc.