Fix 1993/vanb for clang
The problem was the usual suspect where any arg other than the first was not a char **. Instead O5 is no longer defined to be main() and it is its own function now which main() calls. The third arg starts out as a global variable that is passed into the function (which is recursive). Now the output is correct.
This commit is contained in:
1 parent
7d3ef55280
commit
8d9955f6b3
3 files changed
+18
-10
No files matched your search
+1
-2
@@ -93,7 +93,7 @@ ARCH=
|
||||
# Defines that are needed to compile
|
||||
#
|
||||
#CDEFINE=
|
||||
CDEFINE= -DO5=main
|
||||
CDEFINE=
|
||||
|
||||
# Include files that are needed to compile
|
||||
#
|
||||
@@ -182,7 +182,6 @@ all: data ${TARGET}
|
||||
supernova deep_magic magic charon pluto
|
||||
|
||||
${PROG}: ${PROG}.c
|
||||
@echo "NOTE: This entry might not compile when using modern compilers."
|
||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||
|
||||
# alternative executable
|
||||
|
||||
Reference in new issue
Block a user