This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: FYI: more BC merge fixes
- From: Steven Bosscher <stevenb at suse dot de>
- To: "Andreas Tobler" <toa at pop dot agri dot ch>, "Ranjit Mathew" <rmathew at gmail dot com>, tromey at redhat dot com
- Cc: "Java Patch List" <java-patches at gcc dot gnu dot org>, "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 25 Nov 2004 09:39:17 +0100
- Subject: Re: Patch: FYI: more BC merge fixes
- Organization: SUSE Labs
- References: <41742612000064A2@mail02.agrinet.ch>
On Thursday 25 November 2004 09:09, Andreas Tobler wrote:
> >cc1: warnings being treated as errors
> >/home/ranmath/src/gcc/gcc-20041125/gcc/java/verify-glue.c: In function
> >'vfy_init_name':
> >/home/ranmath/src/gcc/gcc-20041125/gcc/java/verify-glue.c:72: warning:
> >old-style function definition
> >/home/ranmath/src/gcc/gcc-20041125/gcc/java/verify-glue.c: In function
> >'vfy_clinit_name':
> >/home/ranmath/src/gcc/gcc-20041125/gcc/java/verify-glue.c:78: warning:
> >old-style function definition
> >/home/ranmath/src/gcc/gcc-20041125/gcc/java/verify-glue.c: In function
> >'vfy_object_type':
> >/home/ranmath/src/gcc/gcc-20041125/gcc/java/verify-glue.c:348: warning:
> >old-style function definition
> >/home/ranmath/src/gcc/gcc-20041125/gcc/java/verify-glue.c: In function
> >'vfy_string_type':
> >/home/ranmath/src/gcc/gcc-20041125/gcc/java/verify-glue.c:356: warning:
> >old-style function definition
> >/home/ranmath/src/gcc/gcc-20041125/gcc/java/verify-glue.c: In function
> >'vfy_throwable_type':
> >/home/ranmath/src/gcc/gcc-20041125/gcc/java/verify-glue.c:364: warning:
> >old-style function definition
>
> Does this help ?
I think this is obviously correct and you can apply it.
Apparently the BC branch/merge was never bootstrapped...
Gr.
Steven
>
>
> Index: verify-glue.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/java/verify-glue.c,v
> retrieving revision 1.2
> diff -u -r1.2 verify-glue.c
> --- verify-glue.c 25 Nov 2004 03:46:41 -0000 1.2
> +++ verify-glue.c 25 Nov 2004 08:07:55 -0000
> @@ -68,13 +68,13 @@
> }
>
> vfy_string
> -vfy_init_name ()
> +vfy_init_name (void)
> {
> return init_identifier_node;
> }
>
> vfy_string
> -vfy_clinit_name ()
> +vfy_clinit_name (void)
> {
> return clinit_identifier_node;
> }
> @@ -344,7 +344,7 @@
> }
>
> vfy_jclass
> -vfy_object_type ()
> +vfy_object_type (void)
> {
> vfy_jclass k;
> k = object_type_node;
> @@ -352,7 +352,7 @@
> }
>
> vfy_jclass
> -vfy_string_type ()
> +vfy_string_type (void)
> {
> vfy_jclass k;
> k = string_type_node;
> @@ -360,7 +360,7 @@
> }
>
> vfy_jclass
> -vfy_throwable_type ()
> +vfy_throwable_type (void)
> {
> vfy_jclass k;
> k = throwable_type_node;