diff options
| author | seyko <seyko2@gmail.com> | 2015-04-16 07:30:24 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-04-16 07:30:24 +0300 |
| commit | b472d53672bb8840511cc6d59316c5ea435a396e (patch) | |
| tree | 7e54bbb32ea23136fdc32775933429176820b19a /tccpp.c | |
| parent | aeaff94ec1dba0096d7b943ad7c963d9d574d922 (diff) | |
| download | tinycc-b472d53672bb8840511cc6d59316c5ea435a396e.tar.gz tinycc-b472d53672bb8840511cc6d59316c5ea435a396e.tar.bz2 | |
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'
Diffstat (limited to 'tccpp.c')
| -rw-r--r-- | tccpp.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 */ |
