Open timonline opened 4 years ago
~/Downloads/playground/img4lib$ make gcc -o img4.o -Wall -W -pedantic -Wno-variadic-macros -Wno-multichar -Wno-four-char-constants -Wno-unused-parameter -O2 -I. -g -DiOS10 -DDER_MULTIBYTE_TAGS=1 -DDER_TAG_SIZE=8 -D__unused="__attribute__((unused))" -Ilzfse/src -Wno-deprecated-declarations -c img4.c In file included from /usr/include/fcntl.h:77:0, from img4.c:4: /usr/include/bits/stat.h:106:31: error: expected identifier or ‘(’ before ‘[’ token __syscall_slong_t __unused[3]; ^
try removing -D__unused lines from the Makefiles. iirc, those defines were added to avoid editing some files (oids.c) as my compiler didnt' have it back then.