This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: FYI: more BC merge fixes


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]