Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit af39a9b

Browse files
authored
fix gcc15 issues (#10)
* fix some gcc15 issues * move -std=gnu11
1 parent 902df3b commit af39a9b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/game/enemies/drisame.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,4 +401,4 @@ void TaskDestructor_IceBlock(struct Task *t)
401401
VramFree(iceBlock->s.graphics.dest);
402402
VramFree(iceBlock->s2.graphics.dest);
403403
VramFree(iceBlock->s3.graphics.dest);
404-
}
404+
}

src/game/multiplayer/mode_select_2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,4 +398,4 @@ void sub_8010060(void)
398398
SA2_LABEL(gUnknown_03002280)[0][2] = -1;
399399
SA2_LABEL(gUnknown_03002280)[0][3] = 0x20;
400400
}
401-
}
401+
}

tools/_shared/arena_alloc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ all: libarena_alloc.a
99
@:
1010

1111
%.o: $(SOURCE)
12-
$(CC) -O2 $(SOURCE) -static -c $< $(LDFLAGS)
12+
$(CC) -O2 -std=gnu11 $(SOURCE) -static -c $< $(LDFLAGS)
1313

1414
libarena_alloc.a: arena_alloc.o
1515
$(AR) -rcs $@ $<

0 commit comments

Comments
 (0)