Pragma消息在Clang? [英] Pragma message in Clang?

查看:383
本文介绍了Pragma消息在Clang?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是Clang等同于 #pragma message #Diagnostic-Pragmasrel =nofollow> GCC MSVC ? 我已经把这个放在 Clang邮寄名单,并且位于现在讨论。随后,它被作为警告实施,希望很快就会在其他编译器中的行为。


What's Clang's equivalent to #pragma message as used in GCC and MSVC?

解决方案

I've brought this up on the Clang mailing list, and it's in discussion now. It's subsequently been implemented as a warning, and hopefully soon it will be behave as it does in other compilers.

这篇关于Pragma消息在Clang?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆