Use case:
I have class for Windows OS.
I not implement class for Linux.
I want message about it. When code compiled under Linux.


Example:


version ( Windows )
{
    public import ui.sys.windows.event.keyboardevent;
}
else
{
    pragma( msg, "Unsupported OS" );
}


How to make red color message ?
pragma( msg, "Unsupported OS" );



Or may be call compiller warning_message() function ? Such exists ?

Thanks.

  • How to make the compil... Виталий Фадеев via Digitalmars-d-learn

Reply via email to