Get all 1988 entries to compile
For 1988/dale it will not compile under macOS. I was able to get it to almost compile under macOS but there was one problem. As well this 'fix' will make it not compile under linux. One change was required which was changing the #define _ define followed by #_ foo to be just '#define foo' etc. Added to 1988/isaak/.gitignore isaak.output. 1988/spinellis won't compile with clang. 1988/phillipps will compile but it is likely to segfault at least in some systems (maybe not all). Updated many README.md files for the changes above (and probably other changes I've neglected to write in this log). Most changes in the readme files are probably just formatting and probably typos as well as how to compile and run entries nowadays. There might have been other changes.
This commit is contained in:
1 parent
923a1f46d0
commit
a958027ee6
12 files changed
+174
-70
No files matched your search
+14
-7
@@ -1,4 +1,4 @@
|
||||
Best layout:
|
||||
## Best layout:
|
||||
|
||||
Merlyn LeRoy (Brian Westley)
|
||||
Rosemount, Inc.
|
||||
@@ -7,17 +7,23 @@ Best layout:
|
||||
55108
|
||||
U.S.A.
|
||||
|
||||
Compile and execute without arguments.
|
||||
## Try:
|
||||
|
||||
Note: Your compiler must parse
|
||||
make all
|
||||
./westley
|
||||
|
||||
|
||||
## Judges' comments
|
||||
|
||||
Your compiler must parse
|
||||
|
||||
#define _ -a
|
||||
-_
|
||||
|
||||
as "--a" and not "-(-a)" or some other tokenized form. Some strictly
|
||||
conforming ANSI C Preprocessors may object to this: for such
|
||||
compilers, you can elide the nonstandard token-pasting requirement
|
||||
by changing the #define line to:
|
||||
as "--a" and not "-(-a)" or some other tokenized form. Some strictly
|
||||
conforming ANSI C Preprocessors may object to this: for such
|
||||
compilers, you can elide the non-standard token-pasting requirement
|
||||
by changing the #define line to:
|
||||
|
||||
#define _ F-->00||F-OO--;
|
||||
|
||||
@@ -25,6 +31,7 @@ You might enjoy looking at the output of:
|
||||
|
||||
cc -E westley.c
|
||||
|
||||
|
||||
Copyright (c) 1988, Landon Curt Noll & Larry Bassel.
|
||||
All Rights Reserved. Permission for personal, educational or non-profit use is
|
||||
granted provided this this copyright and notice are included in its entirety
|
||||
|
||||
Reference in new issue
Block a user