Suppress missing file warnings if -m is specified

This commit is contained in:
Andrea Mazzoleni 2015-04-19 21:21:49 +02:00
parent a5a72f4a31
commit adbc74f862
10 changed files with 57 additions and 16 deletions

View file

@ -42,6 +42,13 @@ void msg_error(const char* format, ...) __attribute__((format(attribute_printf,
*/
void msg_warning(const char* format, ...) __attribute__((format(attribute_printf, 1, 2)));
/**
* Warning messages, without fallback to stderr.
*
* These messages go in the log file if specified, otherwise they are lost.
*/
void msg_expected(const char* format, ...) __attribute__((format(attribute_printf, 1, 2)));
/**
* Tag messages.
*