+2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
+
+ * Make-lang.in (java/mangle_name.o): Add 'make' prereqs.
+
+2001-02-09 Alexandre Petit-Bianco <apbianco@redhat.com>
+
+ * Manke-lang.in (JVGENMAIN_OBJS): Added `errors.o'
+ * jvgenmain.c (error): Reversed 2001-02-09 patch. `error' is now
+ gone.
+
2001-02-09 Alexandre Petit-Bianco <apbianco@redhat.com>
* mangle_name (append_unicode_mangled_name): Emit `_' or `U'
JCFDUMP_OBJS = java/jcf-dump.o java/jcf-io.o java/jcf-depend.o java/jcf-path.o \
java/zextract.o errors.o version.o mkdeps.o
-JVGENMAIN_OBJS = java/jvgenmain.o java/mangle_name.o
+JVGENMAIN_OBJS = java/jvgenmain.o java/mangle_name.o errors.o
# Use loose warnings for this front end.
java-warn =
toplev.h system.h $(RTL_H) $(EXPR_H)
java/mangle.o: java/mangle.c $(CONFIG_H) java/jcf.h $(JAVA_TREE_H) system.h \
toplev.h $(GGC_H)
+java/mangle_name.o: java/mangle_name.c $(CONFIG_H) java/jcf.h $(JAVA_TREE_H) \
+ system.h toplev.h $(GGC_H)
java/parse-scan.o: $(CONFIG_H) system.h toplev.h $(JAVA_LEX_C) java/parse.h \
java/lex.h
java/typeck.o: java/typeck.c $(CONFIG_H) $(JAVA_TREE_H) java/jcf.h \
#include "java-tree.h"
static char * do_mangle_classname PARAMS ((const char *string));
-void error PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1;
struct obstack name_obstack;
struct obstack *mangle_obstack = &name_obstack;
exit (1);
}
-/* This function is defined here to help us link jvgenmain at
- bootstrap. */
-
-void
-error VPARAMS ((const char *msgid, ...))
-{
-#ifndef ANSI_PROTOTYPES
- const char *msgid;
-#endif
- va_list ap;
-
- VA_START (ap, msgid);
-
-#ifndef ANSI_PROTOTYPES
- msgid = va_arg (ap, const char *);
-#endif
-
- vfprintf (stderr, msgid, ap);
- va_end (ap);
-}
-
int
main (int argc, const char **argv)
{