Fix 2012/zeitak/Makefile

An error (a typo) in the CSILENCE prevented the code from compiling.
This commit is contained in:
Cody Boone Ferguson committed 2024-05-19 10:26:15 -07:00
1 parent 905cef422d
commit 54528cd8fd
3 files changed
+8 -3

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ include ../../var.mk
CSILENCE= -Wno-constant-conversion -Wno-format-security \
-Wno-incompatible-function-pointer-types -Wno-int-conversion \
-Wno-missing-braces -Wno-non-literal-null-conversion \
-Wno-pointer-sign \Wno-pointer-to-int-cast -Wno-self-assign \
-Wno-pointer-sign -Wno-pointer-to-int-cast -Wno-self-assign \
-Wno-unused-parameter -Wno-incompatible-pointer-types -Wno-overflow \
-Wno-pointer-to-int-cast -Wno-strict-aliasing
+3 -1
View File
@@ -3703,13 +3703,15 @@ does this for the few who might use Windows.</p>
<h2 id="zeitak"><a href="2012/zeitak/index.html">2012/zeitak</a></h2>
<h3 id="source-code-zeitak.c">Source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2012/zeitak//zeitak.c">zeitak.c</a></h3>
</div>
<p><a href="#cody">Cody</a> <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2012/zeitak/test.sh">test.sh</a> script and the <code>make test</code> rule
<p><a href="#cody">Cody</a> added the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2012/zeitak/test.sh">test.sh</a> script and the <code>make test</code> rule
that uses the script along with a number of files that will correctly be flagged
as incorrect (including a text file and a java file, with a joke, to show that
it’s not that it parses C but rather just matching pairs though that’s probably
obvious) and some correctly nested files were also added including
<a href="1984/anonymous/index.html">1984/anonymous</a> (as the author explicitly mentioned
it) and a java file as well with another joke.</p>
<p>A problem was later fixed in the Makefile by Cody, a typo in the <code>CSILENCE</code>
variable that prevented compilation.</p>
<p>A minor point is that the author noted that one should
look at the program source with tab space of 4 characters so Cody added the
command to do this in vim for those who use it, in the judges’ remarks, to make
+4 -1
View File
@@ -4711,7 +4711,7 @@ does this for the few who might use Windows.
### Source code: [zeitak.c](%%REPO_URL%%/2012/zeitak//zeitak.c)
</div>
[Cody](#cody) [test.sh](%%REPO_URL%%/2012/zeitak/test.sh) script and the `make test` rule
[Cody](#cody) added the [test.sh](%%REPO_URL%%/2012/zeitak/test.sh) script and the `make test` rule
that uses the script along with a number of files that will correctly be flagged
as incorrect (including a text file and a java file, with a joke, to show that
it's not that it parses C but rather just matching pairs though that's probably
@@ -4719,6 +4719,9 @@ obvious) and some correctly nested files were also added including
[1984/anonymous](1984/anonymous/index.html) (as the author explicitly mentioned
it) and a java file as well with another joke.
A problem was later fixed in the Makefile by Cody, a typo in the `CSILENCE`
variable that prevented compilation.
A minor point is that the author noted that one should
look at the program source with tab space of 4 characters so Cody added the
command to do this in vim for those who use it, in the judges' remarks, to make