[cfe-dev] Pragma message in Clang?

Chris Lattner clattner at apple.com
Sun Sep 26 11:39:37 PDT 2010


On Sep 26, 2010, at 10:30 AM, Michael Spencer wrote:

>>>>>> What's Clang's equivalent to `#pragma message` as used in [GCC][1] and
>>>>>> [MSVC][2]?
>>>>>> 
>>>>>>  [1]: http://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas
>>>>>>  [2]: http://msdn.microsoft.com/en-us/library/x7dkzch2.aspx
>>> 
>> 
> 
> Patch attached. Please verify.
> 
> - Michael Spencer

Looks good to me, please commit.  Feel free to enable it by default in GNU mode also if it hasn't already been done.

-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100926/4c9330bb/attachment.html>


More information about the cfe-dev mailing list