a prior error message: cannot find 'program_resolve_lib' after a patch: cannot find library 'libprogram_resolve_lib'
Unified · Split
| @@ -846,7 +846,7 @@ LIBTCCAPI int tcc_compile_string(TCCState *s, const char *str) · 845 unmodified lines | ||
| 846 | 846 | const char *filename = s->files[i] + 1; |
| 847 | 847 | if (filename[0] == '-' && filename[1] == 'l') { |
| 848 | 848 | if (tcc_add_library(s, filename + 2) < 0) { |
| 849 | − tcc_warning("cannot find '%s'", filename+2); | |
| 849 | + tcc_warning("cannot find library 'lib%s'", filename+2); | |
| 850 | 850 | ret++; |
| 851 | 851 | } |
| 852 | 852 | } |
| @@ -317,7 +317,7 @@ int main(int argc, char **argv) · 316 unmodified lines | ||
| 317 | 317 | const char *filename = s->files[i] + 1; |
| 318 | 318 | if (filename[0] == '-' && filename[1] == 'l') { |
| 319 | 319 | if (tcc_add_library(s, filename + 2) < 0) { |
| 320 | − tcc_error_noabort("cannot find '%s'", filename+2); | |
| 320 | + tcc_error_noabort("cannot find library 'lib%s'", filename+2); | |
| 321 | 321 | ret = 1; |
| 322 | 322 | } |
| 323 | 323 | } else { |
| @@ -1441,13 +1441,12 @@ static void pragma_parse(TCCState *s1) · 1440 unmodified lines | ||
| 1441 | 1441 | next(); |
| 1442 | 1442 | tok = TOK_LINEFEED; |
| 1443 | 1443 | } else { |
| 1444 | − tcc_warning("unknown #pragma %s", get_tok_str(tok, &tokc)); | |
| 1444 | + tcc_warning("unknown specifier '%s' in #pragma comment", get_tok_str(tok, &tokc)); | |
| 1445 | 1445 | } |
| 1446 | 1446 | } else { |
| 1447 | 1447 | tcc_warning("#pragma comment(lib) is ignored"); |
| 1448 | 1448 | } |
| 1449 | 1449 | } |
| 1450 | − | |
| 1451 | 1450 | } |
| 1452 | 1451 | |
| 1453 | 1452 | /* is_bof is true if first non space token at beginning of file */ |