From 10a947b34e7c3bd0107b2f6795f3e25a878d6394 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 18 Oct 2023 01:32:07 -0700 Subject: [PATCH] Minor improvements to 1991/fine/{demo.sh,Makefile} The demo.sh script now shows a bit more what is going on, at least in so far as the text can go either way: instead of showing: Green terra: Terra green Vex: Irk [...] The rug gary lenT: Gur eht tnel yraG it shows: Green terra <-> Terra green Vex <-> Irk [...] The rug gary lenT <-> Gur eht tnel yraG The Makefile now silences as many warnings as possible. --- 1991/fine/Makefile | 5 +++-- 1991/fine/demo.sh | 16 ++++++++-------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/1991/fine/Makefile b/1991/fine/Makefile index 6d59c67fa..884227c08 100644 --- a/1991/fine/Makefile +++ b/1991/fine/Makefile @@ -39,7 +39,8 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \ - -Wno-int-conversion -Wno-pointer-to-int-cast -Wno-implicit-int + -Wno-int-conversion -Wno-pointer-to-int-cast -Wno-implicit-int -Wno-parentheses \ + -Wno-return-type -Wno-deprecated-non-prototype -Wno-disabled-macro-expansion # Common C compiler warning flags # @@ -94,7 +95,7 @@ endif # ifeq ($(CC),gcc) # -#CSILENCE+= +CSILENCE+= -Wno-missing-parameter-type # #CWARN+= # diff --git a/1991/fine/demo.sh b/1991/fine/demo.sh index fce54fd84..c651c3bc9 100755 --- a/1991/fine/demo.sh +++ b/1991/fine/demo.sh @@ -2,22 +2,22 @@ make all || exit 1 -echo -n "Green terra: " +echo -n "Green terra <-> " echo "Green terra" |./fine -echo -n "Vex: " +echo -n "Vex <-> " echo "Vex" | ./fine -echo -n "Tang: " +echo -n "Tang <-> " echo "Tang" | ./fine -echo -n "Vend onyx: " +echo -n "Vend onyx <-> " echo "Vend onyx" | ./fine -echo -n "Cheryl be flashy: " +echo -n "Cheryl be flashy <-> " echo "Cheryl be flashy" | ./fine -echo -n "Rail: " +echo -n "Rail <-> " echo "Rail" | ./fine -echo -n "Clerk: " +echo -n "Clerk <-> " echo "Clerk" | ./fine -echo -n "The rug gary lenT: " +echo -n "The rug gary lenT <-> " echo "The rug gary lenT" | ./fine