diff --git a/1984/decot/decot.c b/1984/decot/decot.c index 10101a4e8..2c4471f88 100644 --- a/1984/decot/decot.c +++ b/1984/decot/decot.c @@ -20,7 +20,7 @@ _O: while (!(k['a'] <<= - dup)) { /*/*\*/ while(b = 3, i); { k['a'] = b,i; _0:if(b&&(int)k+ -sin(signal) / * ((main) (((struct tag *)b)-> xO)));/*} +sin(signal) / * ((main) (*((struct tag *)b)-> xO)));/*} ; } diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index 52ab8e447..7b7e32c6e 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -64,8 +64,10 @@ Scovell](https://web.archive.org/web/20070120220721/https://thomasscovell.com/ta Cody fixed this to not require `-traditional-cpp` which not all compilers support (clang does not support it for example). Clang is also more strict about the args' types in `main()` and this was also a problem that Cody fixed, making -it work with both clang and gcc. For the original code with the gcc fix -described below, see the alternate code section in the README.md file. +it work with both clang and gcc - in macOS. It was then noticed that with clang +in linux it did not work so this had to be further fixed which Cody also did. +For the original code with the gcc fix (noted below), see the alternate code +section in the README.md file. Originally Yusuke supplied a patch so that this entry would compile with gcc - but not clang - or at least some versions.