Improve my fixes to 2000/natori
When Landon initially tried getting it to work he ended up making the include files in the Makefile (-include ...) to restore it to be a one-liner but this was actually an error as it was not a one-liner but rather a best small program; the original code has the #includes in the source file. At the same time I made the code itself one-line as it was indeed one line (the source of the problem, of course). Now the fixed code (segfaulted with gcc, failed to compile with clang), both original and alt version (southern hemisphere: based on the author's remarks but with my fixes applied) that I added, looks more like the original.
This commit is contained in:
1 parent
b032564f30
commit
c19a19923f
5 files changed
+17
-13
No files matched your search
@@ -62,7 +62,7 @@ CDEFINE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
|
||||
|
||||
# Include files that are needed to compile
|
||||
#
|
||||
CINCLUDE= -include stdlib.h -include math.h
|
||||
CINCLUDE=
|
||||
|
||||
# Optimization
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user