Compatibility with C99 standard

This commit makes the code (mostly) C99-compatible, enabling to compile
it without the -Wno-error=implicit-function-declaration flag. This
way, Magic becomes usable on arm64 architectures, specifically on Apple
computers with M1/M2 SoC.
This commit is contained in:
Alessandro De Laurenzis
2022-10-29 06:07:46 +02:00
parent 9d40fbfecb
commit b306a39560
151 changed files with 1095 additions and 19 deletions
+1 -2
View File
@@ -4,5 +4,4 @@ set -x
--with-tcl=$(brew --prefix tcl-tk)\
--with-tk=$(brew --prefix tcl-tk)\
--with-cairo=$(brew --prefix cairo)/include\
"CFLAGS=-Wno-error=implicit-function-declaration"\
"LDFLAGS=-L$(brew --prefix cairo)/lib"
"LDFLAGS=-L$(brew --prefix cairo)/lib"