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'
This commit is contained in:
seyko
2015-04-16 07:30:24 +03:00
parent aeaff94ec1
commit b472d53672
3 changed files with 3 additions and 4 deletions

View File

@ -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 */