[cfe-dev] Pragma message in Clang?

Matt Joiner anacrolix at gmail.com
Mon Sep 27 20:48:45 PDT 2010


It seems they're very specific about this part:

User-defined messages are displayed as messages, not warnings.

On Tue, Sep 28, 2010 at 3:45 AM, David Dean <siliconman at spamcop.net> wrote:
> In article
> <AANLkTincuu-vR96Oq1m1v+D0nmiecS5441KMQ22AjiPR at mail.gmail.com>,
>  Matt Joiner <anacrolix at gmail.com> 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
>
>   FWIW, Borland/Embarcadero also supports this pragma:
>
> http://docwiki.embarcadero.com/RADStudio/en/Pragma_message
>
> --
> -David
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>




More information about the cfe-dev mailing list