Remove 1986/wall alt code
The alt code was just a patched (by Yusuke Endoh) version (two strings were strdup()d) that still required -traditional-cpp. He is still credited in the thanks file but one can do make diff_orig_prog to see what was changed to make it not require -traditional-cpp and Yusuke's fix is there too. The thanks file details what I had to do to make it work without -traditional-cpp and his change is still there as well. It seemed to serve no purpose to have an alt version that requires one to use -traditional-cpp when one can just look at the original code if they want to see what it was like back in 1986.
This commit is contained in:
1 parent
45e8c3e5df
commit
5d75caef9b
5 files changed
+7
-113
No files matched your search
@@ -12,30 +12,6 @@ make all
|
||||
```
|
||||
|
||||
|
||||
## Alternate code:
|
||||
|
||||
If you have an old compiler or a compiler that supports `-traditional-cpp` you
|
||||
might enjoy looking at the original source in [wall.alt.c](wall.alt.c).
|
||||
|
||||
|
||||
### Alternate build:
|
||||
|
||||
```sh
|
||||
# if you have an old enough compiler:
|
||||
make alt
|
||||
|
||||
# or if you have gcc:
|
||||
make CC=gcc alt
|
||||
|
||||
# or if you have a compiler that supports -traditional-cpp that's not gcc:
|
||||
make CFLAGS+="-traditional-cpp" alt
|
||||
```
|
||||
|
||||
NOTE: gcc in macOS is actually clang even the binary `/usr/bin/gcc`.
|
||||
|
||||
Use `./wall.alt` as you would `./wall`.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
The original version did not have a ';' character in the first line.
|
||||
|
||||
Reference in new issue
Block a user