diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-05-19 07:19:17 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-05-19 07:19:17 +0000 |
commit | 77dc0938f72adc4ef75f164fe290deeb236b32eb (patch) | |
tree | b8d3defbc89a227144e054b7b36e1da85937bbb9 /gcc/cp/errfn.c | |
parent | 12c45d894bb083f9a735c121a371d3b404302d82 (diff) | |
download | gcc-77dc0938f72adc4ef75f164fe290deeb236b32eb.zip gcc-77dc0938f72adc4ef75f164fe290deeb236b32eb.tar.gz gcc-77dc0938f72adc4ef75f164fe290deeb236b32eb.tar.bz2 |
Warning fixes:
* Makefile.in (parse.o): Depend on toplev.h.
* class.c (typecode_p): Remove prototype and definition.
* cp-tree.h (currently_open_class, is_empty_class, member_p):
Add prototype.
* decl.c (push_overloaded_decl_top_level): Remove prototype and
definition.
* errfn.c (cp_error): Cast function pointer `error' to (errorfn *)
in call to `cp_thing'.
(cp_warning): Likewise for function pointer `warning'.
* except.c (do_function_call): Remove prototype and definition.
(call_eh_info): Wrap variable `t1' in macro NEW_EH_MODEL.
* method.c (is_java_type): Add prototype and make it static.
* parse.y: Include toplev.h.
* pt.c (type_unification): Remove unused variable `arg'.
(instantiate_decl): likewise for `save_ti'.
* tree.c (propagate_binfo_offsets): Likewise for `base_binfos'.
From-SVN: r19866
Diffstat (limited to 'gcc/cp/errfn.c')
-rw-r--r-- | gcc/cp/errfn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/errfn.c b/gcc/cp/errfn.c index 4546e195..60a024f 100644 --- a/gcc/cp/errfn.c +++ b/gcc/cp/errfn.c @@ -200,7 +200,7 @@ DECLARE (cp_error) va_list ap; INIT; if (! cp_silent) - cp_thing (error, 0, format, ap); + cp_thing ((errorfn *) error, 0, format, ap); va_end (ap); } @@ -209,7 +209,7 @@ DECLARE (cp_warning) va_list ap; INIT; if (! cp_silent) - cp_thing (warning, 0, format, ap); + cp_thing ((errorfn *) warning, 0, format, ap); va_end (ap); } |