From b472d53672bb8840511cc6d59316c5ea435a396e Mon Sep 17 00:00:00 2001 From: seyko Date: Thu, 16 Apr 2015 07:30:24 +0300 Subject: clarify error message when library not found a prior error message: cannot find 'program_resolve_lib' after a patch: cannot find library 'libprogram_resolve_lib' --- tccpp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tccpp.c') diff --git a/tccpp.c b/tccpp.c index e3c9910..b0f4102 100644 --- a/tccpp.c +++ b/tccpp.c @@ -1441,13 +1441,12 @@ static void pragma_parse(TCCState *s1) next(); tok = TOK_LINEFEED; } else { - tcc_warning("unknown #pragma %s", get_tok_str(tok, &tokc)); + tcc_warning("unknown specifier '%s' in #pragma comment", get_tok_str(tok, &tokc)); } } else { tcc_warning("#pragma comment(lib) is ignored"); } } - } /* is_bof is true if first non space token at beginning of file */ -- cgit v1.3.1