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: "Andreas Tobler" <toa at pop dot agri dot ch>
- To: "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:09:04 +0100
- Subject: Re: Patch: FYI: more BC merge fixes
>-- Original Message --
>I'm still seeing the following bootstrap error, but cannot
>commit anything to CVS to rectify it :-( Can someone please
>correct this?
>
>stage1/xgcc -Bstage1/ -B/home/ranmath/gcc/i686-pc-linux-gnu/bin/ -c
>-O2 -g -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings
>-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
>-Wno-variadic-macros -Wold-style-definition -Werror -DHAVE_CONFIG_H
> -I. -Ijava -I/home/ranmath/src/gcc/gcc-20041125/gcc
>-I/home/ranmath/src/gcc/gcc-20041125/gcc/java
>-I/home/ranmath/src/gcc/gcc-20041125/gcc/../include
>-I/home/ranmath/src/gcc/gcc-20041125/gcc/../libcpp/include
>/home/ranmath/src/gcc/gcc-20041125/gcc/java/verify-glue.c -o
>java/verify-glue.o
>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 ?
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;