This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Greetings,
I would like to have the compiler output a warning with text which I author. Is there any way to create a custom warning?
Thank you,
Ed
Use the preprocessor directive #warning. For example ...
#warning custom text here
Thanks and regards,
-George