Philipp Tomsich
Christian Thalinger
- $Id: headers.c 2517 2005-05-23 10:33:06Z twisti $
+ $Id: headers.c 2518 2005-05-23 11:57:59Z twisti $
*/
void throw_exception(void) { assert(0); }
void throw_exception_exit(void) { assert(0); }
-java_objectheader *new_verifyerror(methodinfo *m, const char *message) { assert(0); }
-java_objectheader *new_exception_throwable(const char *classname, java_lang_Throwable *throwable) { assert(0); }
+
+java_objectheader *new_verifyerror(methodinfo *m, const char *message)
+{
+ assert(0);
+
+ /* keep compiler happy */
+
+ return NULL;
+}
+
+java_objectheader *new_exception_throwable(const char *classname, java_lang_Throwable *throwable)
+{
+ assert(0);
+
+ /* keep compiler happy */
+
+ return NULL;
+}
void throw_cacao_exception_exit(const char *exception, const char *message, ...)
{
fprintf(stderr, "%s\n", classname);
exit(1);
+
+ /* keep compiler happy */
+
+ return NULL;
}
{
fprintf(stderr, "%s: %s\n", classname, message);
exit(1);
+
+ /* keep compiler happy */
+
+ return NULL;
}
fputc('\n', stderr);
exit(1);
+
+ /* keep compiler happy */
+
+ return NULL;
}
fputc('\n', stderr);
exit(1);
+
+ /* keep compiler happy */
+
+ return NULL;
}
va_end(ap);
exit(1);
+
+ /* keep compiler happy */
+
+ return NULL;
}
va_end(ap);
exit(1);
+
+ /* keep compiler happy */
+
+ return NULL;
}
{
fprintf(stderr, "%s", string_java_lang_NegativeArraySizeException);
exit(1);
+
+ /* keep compiler happy */
+
+ return NULL;
}
{
fprintf(stderr, "%s", string_java_lang_NullPointerException);
exit(1);
+
+ /* keep compiler happy */
+
+ return NULL;
}