diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-15 20:48:10 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-15 20:48:10 +0000 |
commit | eb586f2c7457e817e8d516217ea3ac779d6b9bbe (patch) | |
tree | 4034f8306b245baf4a83c67767977aaa06c4a83b /gcc/c-pch.c | |
parent | 31022362da2d9a98060dd03fa6c4bf6ee010fd14 (diff) | |
download | gcc-eb586f2c7457e817e8d516217ea3ac779d6b9bbe.tar.gz |
gcc:
* attribs.c, builtins.c, c-format.c, c-pch.c, coverage.c,
except.c, fold-const.c, function.c, langhooks.c, params.c,
reload.c, reload1.c, stmt.c, stor-layout.c, toplev.c, tree-cfg.c,
tree-dump.c, tree-mudflap.c, tree.c, varasm.c: Use %<, %> and %q
for quoting in diagnostics going through pretty-print.c. Use ''
for quoting in other diagnostic text.
* langhooks.c: Include intl.h. Mark text locating diagnostics for
translation.
* Makefile.in (langhooks.o): Update dependencies.
* pretty-print.h (pp_printf): Mark as accepting GCC diagnostic
formats.
gcc/testsuite:
* g++.dg/ext/member-attr.C, g++.dg/warn/deprecated.C,
gcc.dg/deprecated.c, gcc.dg/noreturn-1.c, gcc.dg/noreturn-4.c:
Update expected messages.
libmudflap:
* testsuite/libmudflap.c/pass35-frag.c: Update expected message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87563 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-pch.c')
-rw-r--r-- | gcc/c-pch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/c-pch.c b/gcc/c-pch.c index 7371dbabe92..04eee838dfa 100644 --- a/gcc/c-pch.c +++ b/gcc/c-pch.c @@ -161,7 +161,7 @@ pch_init (void) /* The driver always provides a valid -o option. */ if (asm_file_name == NULL || strcmp (asm_file_name, "-") == 0) - fatal_error ("`%s' is not a valid output file", asm_file_name); + fatal_error ("%qs is not a valid output file", asm_file_name); asm_file_startpos = ftell (asm_out_file); @@ -284,7 +284,7 @@ c_common_valid_pch (cpp_reader *pfile, const char *name, int fd) { if (cpp_get_options (pfile)->warn_invalid_pch) cpp_error (pfile, CPP_DL_WARNING, - "%s: created on host `%.*s', but used on host `%s'", name, + "%s: created on host '%.*s', but used on host '%s'", name, v.host_machine_length, short_strings, host_machine); return 2; } @@ -294,7 +294,7 @@ c_common_valid_pch (cpp_reader *pfile, const char *name, int fd) { if (cpp_get_options (pfile)->warn_invalid_pch) cpp_error (pfile, CPP_DL_WARNING, - "%s: created for target `%.*s', but used for target `%s'", + "%s: created for target '%.*s', but used for target '%s'", name, v.target_machine_length, short_strings + v.host_machine_length, target_machine); return 2; @@ -307,7 +307,7 @@ c_common_valid_pch (cpp_reader *pfile, const char *name, int fd) { if (cpp_get_options (pfile)->warn_invalid_pch) cpp_error (pfile, CPP_DL_WARNING, - "%s: created by version `%.*s', but this is version `%s'", + "%s: created by version '%.*s', but this is version '%s'", name, v.version_length, (short_strings + v.host_machine_length + v.target_machine_length), |