Please *bootstrap* patches
Matt Austern
austern@apple.com
Tue Sep 21 18:48:00 GMT 2004
On Sep 21, 2004, at 2:18 AM, Steven Bosscher wrote:
> Hi,
>
> For the second time in three days, my daily tested failed to
> complete the nightly bootstrap because of a silly warning that is
> an error because we bootstrap with -Werror:
>
> cc1: warnings being treated as errors
> ../../mainline/gcc/cp/decl.c: In function 'reshape_init':
> ../../mainline/gcc/cp/decl.c:4162: warning: 'max_index_cst' may be used
> uninitialized in this function
> make[2]: *** [cp/decl.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
And there's another bootstrap failure today in Java that's related to
-Werror:
stage1/xgcc -Bstage1/ -B/work/root.u/powerpc-apple-darwin7.5.0/bin/ -c
-g -O2 -mdynamic-no-pic -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Werror -fno-common
-DHAVE_CONFIG_H -I. -Ijava -I../../fsf.u/gcc -I../../fsf.u/gcc/java
-I../../fsf.u/gcc/../include -I./../intl
-I../../fsf.u/gcc/../libcpp/include ../../fsf.u/gcc/java/gjavah.c -o
java/gjavah.o
cc1: warnings being treated as errors
../../fsf.u/gcc/java/gjavah.c:642: warning: function declaration isn't
a prototype
make[2]: *** [java/gjavah.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [stage2_build] Error 2
make: *** [bootstrap] Error 2
Anyone mind if I check in the patch below as obvious?
--Matt
Index: gcc/java/gjavah.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/gjavah.c,v
retrieving revision 1.119
diff -p -r1.119 gjavah.c
*** gcc/java/gjavah.c 21 Sep 2004 16:28:40 -0000 1.119
--- gcc/java/gjavah.c 21 Sep 2004 18:14:10 -0000
*************** name_is_method_p (const unsigned char *n
*** 638,644 ****
/* Free the method name list. */
static void
! free_method_name_list ()
{
struct method_name *p = method_name_list;
while (p != NULL)
--- 638,644 ----
/* Free the method name list. */
static void
! free_method_name_list (void)
{
struct method_name *p = method_name_list;
while (p != NULL)
More information about the Gcc
mailing list