aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/repo.c
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1998-09-07 14:25:35 +0000
committerJason Merrill <jason@yorick.cygnus.com>1998-09-07 14:25:35 +0000
commit0b169817ed84d4ed6272c2de212025f72ab56b34 (patch)
tree4f332f822cd36c92b7c27eee6c003577c1fec279 /gcc/cp/repo.c
parent69a8d2671b5e7570ecbad9902660ca71a9b124a1 (diff)
revert error reporting patch
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@22310 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/repo.c')
-rw-r--r--gcc/cp/repo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c
index 6927fcf6969..742250dc632 100644
--- a/gcc/cp/repo.c
+++ b/gcc/cp/repo.c
@@ -254,7 +254,7 @@ get_base_filename (filename)
if (p && ! compiling)
{
- cp_warning (ec_frepo_must_be_used_with_c);
+ warning ("-frepo must be used with -c");
flag_use_repository = 0;
return NULL;
}
@@ -344,7 +344,7 @@ init_repo (filename)
}
break;
default:
- cp_error (ec_mysterious_repository_information_in_s, repo_name);
+ error ("mysterious repository information in %s", repo_name);
}
obstack_free (&temporary_obstack, buf);
}
@@ -359,7 +359,7 @@ reopen_repo_file_for_write ()
if (repo_file == 0)
{
- cp_error (ec_cant_create_repository_information_file_s, repo_name);
+ error ("can't create repository information file `%s'", repo_name);
flag_use_repository = 0;
}
}