Search code examples
visual-c++gccmessageclangpragma

Pragma message in Clang?


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


Solution

  • 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.