File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,6 +130,9 @@ endif
130130# Disable GCC 14 new warnings as errors because some tests contain them
131131CFLAGS += -Wno-error=implicit-int -Wno-error=implicit-function-declaration -Wno-error=int-conversion -Wno-error=incompatible-pointer-types
132132
133+ # TODO: Force gnu11 because we're not ready for c23 yet
134+ CFLAGS += -std=gnu11
135+
133136# sm: this will make gcc warnings into errors; it's almost never
134137# what we want, but for a particular testcase (combine_copyptrs)
135138# I need it to show the difference between something which works
@@ -176,7 +179,7 @@ SMALL1 := $(TESTDIR)/small1
176179
177180test/% : $(SMALL1 ) /% .c
178181 cd $(SMALL1 ) ; $(CILLY ) --nomerge --commPrintLn \
179- $(CONLY ) -std=gnu90 $(CFLAGS ) $(ASMONLY ) $* .s $* .c
182+ $(CONLY ) $(CFLAGS ) -std=gnu90 $(ASMONLY ) $* .s $* .c
180183 echo SUCCESS
181184
182185testobj/% : $(SMALL1 ) /% .c
You can’t perform that action at this time.
0 commit comments