mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-05 23:22:25 +00:00
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:
parent
84516b2ac6
commit
9fce469f23
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ void determineOS() {
|
||||||
|
|
||||||
#define optimize "" // " -O1"
|
#define optimize "" // " -O1"
|
||||||
// FIXME ignoring warning floods that possibly are problems
|
// 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"
|
#define ignore_clang_warning_flood " -Wno-deprecated-non-prototype"
|
||||||
|
|
||||||
void determineCCompiler() {
|
void determineCCompiler() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue