Get 1989 entries to compile
There were some which cannot be compiled under clang. One entry we used a patch from Yusuke Endoh to get the entry to compile; thank you Yusuke for your assistance! Another one we used a patch from Yusuke (thank you!) but I further fixed it so that it would work with clang. It had to be done: IOCCC Tetris has to work! This was done by changing the environment arg to main() to be a char * in main() itself rather than a char **. Using a char ** in main() third arg got it to compile but only one key worked with clang so I changed it to be not the third argument but a regular char * in main(). **a (third arg) evaluated correctly but *a[1] and onward was actually part of the environment. Again IOCCC Tetris has to work! I also fixed fubar to work which took a few tweaks. README.md files were also updated.
This commit is contained in:
1 parent
b6be01bdc6
commit
9d63c37f49
23 files changed
+353
-280
No files matched your search
@@ -3093,6 +3093,13 @@ a window manager that does not obscure the root window.
|
||||
<LI><A HREF="1989/tromp/Makefile">Makefile</A>
|
||||
<LI><A HREF="1989/tromp/tromp.c">tromp.bsd.c</A>
|
||||
<LI><A HREF="1989/tromp/tromp.orig.c">tromp.s5.c</A>
|
||||
<LI><a href="winners.html#Yusuke_Endoh">Yusuke Endoh</a> provided a patch to get
|
||||
this to compile with modern compilers.
|
||||
<a href="winners.html#Cody_Boone_Ferguson">Cody Boone Ferguson</a> fixed this so
|
||||
it will compile and work under clang ('IOCCC Tetris must work!'). Thank you Yusuke and
|
||||
Cody!</LI>
|
||||
</UL>
|
||||
|
||||
</UL>
|
||||
<A NAME="1989_vanb"></A>
|
||||
<P><B>vanb</B> - one-liner prints all subsets of arguments</P>
|
||||
|
||||
Reference in new issue
Block a user