Keep gcc-14 from aborting with errors due to new defaults.
Adds -Wno-error=implicit-int -Wno-error=int-conversion to CFLAGS. Tested with gcc-12.4 and gcc-14.1.
This commit is contained in:
@@ -50,7 +50,7 @@ ISEQUAL = ..$S..$Stestwrk$Sisequal$(EXE)
|
|||||||
# will have to change that, and create said special cases here.
|
# will have to change that, and create said special cases here.
|
||||||
# see discussion in https://github.com/cc65/cc65/issues/2277
|
# see discussion in https://github.com/cc65/cc65/issues/2277
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -std=gnu17 -O2 -Wall -W -Wextra -funsigned-char -fwrapv -fno-strict-overflow
|
CFLAGS = -std=gnu17 -O2 -Wall -W -Wextra -funsigned-char -fwrapv -fno-strict-overflow -Wno-error=implicit-int -Wno-error=int-conversion
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user