This is the mail archive of the gcc@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]

Re: [ANNOUNCE] Libgcj in gcc tree availability.



Hi, Alexandre.

Here's a trivial patch to let fastjar be compiled (once the makefile is
manually fixed) with an ISO-compliant compiler.  ISO c says there has to
be a statement (even a null one) after a case.



Index: jargrep.c
===================================================================
RCS file: /cvs/gcc/egcs/fastjar/jargrep.c,v
retrieving revision 1.1
diff -u -p -r1.1 jargrep.c
--- jargrep.c   2000/12/09 03:08:23     1.1
+++ jargrep.c   2000/12/11 02:24:45
@@ -566,6 +566,7 @@ void jargrep(regex_t *exp, regex_t *nl_e
                                        break;
                                case 2:
                                        /* fall through continue */
+                                       ;
                                }
                        }
                } while(floop);


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