diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-04 18:52:50 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-04 18:52:50 +0000 |
commit | a8c464ac3f431765d6a58d30b4f9decc8996801c (patch) | |
tree | 85f9769f6f35ad83dbcf67a01979ddd019a890fb /gcc/java/jvspec.c | |
parent | 35f2d7a74c5746a4f6bfbc2342ac89d98348efd0 (diff) | |
download | gcc-a8c464ac3f431765d6a58d30b4f9decc8996801c.tar.gz |
* config/darwin-driver.c (darwin_default_min_version): Use
* GCC-specific formats in diagnostics.
* cppspec.c (lang_specific_driver): Use GCC-specific formats in
diagnostics.
* gcc.c (translate_options, read_specs, add_sysrooted_prefix,
execute, process_command, end_going_arg, do_self_spec, do_spec_1,
eval_spec_function, handle_braces, process_brace_body, main,
perror_with_name, used_arg, set_multilib_dir, print_multilib_info,
getenv_spec_function, compare_version_strings,
version_compare_spec_function): Use GCC-specific formats in
diagnostics.
cp:
* g++spec.c (lang_specific_driver): Use GCC-specific formats in
diagnostics.
fortran:
* gfortranspec.c (append_arg, lang_specific_driver): Use
GCC-specific formats in diagnostics.
java:
* jvspec.c (lang_specific_driver): Use GCC-specific formats in
diagnostics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160292 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jvspec.c')
-rw-r--r-- | gcc/java/jvspec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c index e197e2854b0..1987138a687 100644 --- a/gcc/java/jvspec.c +++ b/gcc/java/jvspec.c @@ -400,13 +400,13 @@ lang_specific_driver (int *in_argc, const char *const **in_argv, } if (quote) - fatal_error ("argument to '%s' missing\n", quote); + fatal_error ("argument to %qs missing", quote); if (saw_D && ! main_class_name) - fatal_error ("can't specify '-D' without '--main'\n"); + fatal_error ("can't specify %<-D%> without %<--main%>"); if (main_class_name && ! verify_class_name (main_class_name)) - fatal_error ("'%s' is not a valid class name", main_class_name); + fatal_error ("%qs is not a valid class name", main_class_name); num_args = argc + added; if (saw_resource) @@ -582,7 +582,7 @@ lang_specific_driver (int *in_argc, const char *const **in_argv, if (strncmp (argv[i], "-fmain=", 7) == 0) { if (! will_link) - fatal_error ("cannot specify 'main' class when not linking"); + fatal_error ("cannot specify %<main%> class when not linking"); --j; continue; } |