Skip to content
Snippets Groups Projects
Commit 49c64c23 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Disable GCC warning about string truncation

Fix issue #667

I'm not sure why these warnings just started popping up (maybe the inclusion
of string in sbbs.h), but it only seems to happen in debug builds and the
possible truncation is intentional.
parent 5efa9c2f
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4838 passed
......@@ -451,7 +451,7 @@ endif
ifdef DEBUG
CFLAGS += -ggdb
CFLAGS += -D_DEBUG
CFLAGS += -Wall -Wno-char-subscripts
CFLAGS += -Wall -Wno-char-subscripts -Wno-format-truncation
else # RELEASE
# -finline-functions (used to) break the baja build badly.
# This also meant that -O3 wouldn't work either.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment