Fixes build problems on gcc 15

GCC 15 changes the C language standard to gnu23, and VOC compiles just fine on gnu11.

Tested against GCC 15 and GCC 14.
This commit is contained in:
Robert Roland 2026-02-03 17:43:38 -08:00
parent 84516b2ac6
commit 9fce469f23

View file

@ -126,7 +126,7 @@ void determineOS() {
#define optimize "" // " -O1"
// FIXME ignoring warning floods that possibly are problems
#define ignore_gcc_warning_flood " -Wno-stringop-overflow"
#define ignore_gcc_warning_flood " -Wno-stringop-overflow -std=gnu11"
#define ignore_clang_warning_flood " -Wno-deprecated-non-prototype"
void determineCCompiler() {