#include <ctype.h>
#include "build.h"
-static const char *can_build(struct manifest *m)
+static const char *can_build(struct manifest *m UNNEEDED)
{
if (safe_mode)
return "Safe mode enabled";
}
static void do_build(struct manifest *m,
- unsigned int *timeleft,
+ unsigned int *timeleft UNNEEDED,
struct score *score)
{
char *errstr;
m->compiled[COMPILE_NORMAL]
= build_module(m, COMPILE_NORMAL, &errstr);
if (!m->compiled[COMPILE_NORMAL]) {
- score_file_error(score, NULL, 0, "%s", errstr);
+ score_error(score, m->modname,"%s", errstr);
return;
}