Warning directive

来自cppreference.com

 
 
C++ 语言
 
 

Displays given message.

[编辑] 语法

#warning warning_message

[编辑] 解释

After encountering #warning directive, diagnostic message warning_message is shown.

warning_message can consist of several words.

[编辑] 另请参阅