Prints a warning with the given text - to the console, if its available.
void warning(const string &text)