Fixes in 1984 winning entries' README.md files
Formatting and possibly typos.
This commit is contained in:
1 parent
8efe343e63
commit
8d06e51e7e
4 files changed
+75
-50
No files matched your search
+11
-9
@@ -1,10 +1,12 @@
|
||||
# Second place award
|
||||
|
||||
Dave Decot
|
||||
Dave Decot
|
||||
|
||||
## To build:
|
||||
|
||||
make all
|
||||
```sh
|
||||
make all
|
||||
```
|
||||
|
||||
Originally [Yusuke Endoh](/winners.html#Yusuke_Endoh) supplied a patch so that
|
||||
this entry would compile with gcc - but not clang - or at least some versions.
|
||||
@@ -23,11 +25,11 @@ does not. Clang also requires that the second and third arguments to main be a
|
||||
|
||||
### Alternative code:
|
||||
|
||||
The alternative code, [decot.alt.c](decot.alt.c), is the fix that Cody made to
|
||||
the version that does require `-traditional-cpp` and still runs afoul with
|
||||
clang's requirement for the second and third arguments to main() being a `char
|
||||
**` (the fixed version's main() only has one arg, an int). It is a minor fix to
|
||||
Yusuke's fix. Thank you Yusuke and Cody!
|
||||
The alternative code, [decot.alt.c](decot.alt.c), is the original code that
|
||||
requires `-traditional-cpp` and will also run afoul with clang's requirement for
|
||||
the second and third arguments to main() being a `char **` (the fixed version's
|
||||
main() only has one arg, an int). It is a minor fix to Yusuke's fix. Thank you
|
||||
Yusuke and Cody!
|
||||
|
||||
To try this version:
|
||||
|
||||
@@ -43,7 +45,7 @@ This program prints out a string of garbage.
|
||||
|
||||
The judges also offer this one comment: understand remarks!
|
||||
|
||||
### Historical comments:
|
||||
### Historical remarks:
|
||||
|
||||
Some new (in 1984) compilers disliked line 15 of the original source, so we changed it
|
||||
from:
|
||||
@@ -65,7 +67,7 @@ To see what we mean look at the source file in the
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
No comments were provided by the author.
|
||||
No remarks were provided by the author.
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
|
||||
Reference in new issue
Block a user