From e4b7cbf3a16506e9da7ca9d4c3f8021ee4ea2ace Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 8 Jan 2024 08:14:46 -0800 Subject: [PATCH] Fix 2013/cable3 for clang in linux --- 2013/cable3/Makefile | 3 ++- thanks-for-help.md | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/2013/cable3/Makefile b/2013/cable3/Makefile index 5faddd411..2961a0bd0 100644 --- a/2013/cable3/Makefile +++ b/2013/cable3/Makefile @@ -44,7 +44,8 @@ CSILENCE= -Wno-bitwise-op-parentheses -Wno-bool-operation \ -Wno-incompatible-pointer-types -Wno-logical-not-parentheses \ -Wno-logical-op-parentheses -Wno-parentheses -Wno-shift-op-parentheses \ -Wno-sign-compare -Wno-unsequenced -Wno-unused-parameter \ - -Wno-deprecated-non-prototype -Wno-return-type -Wno-pointer-type-mismatch + -Wno-deprecated-non-prototype -Wno-return-type -Wno-pointer-type-mismatch \ + -Wno-int-conversion # Common C compiler warning flags # diff --git a/thanks-for-help.md b/thanks-for-help.md index 2091f1b39..1c91999f7 100644 --- a/thanks-for-help.md +++ b/thanks-for-help.md @@ -3628,6 +3628,8 @@ the source code defining `KB` to what the author suggested, `(kb=H(8),kbhit())&&(r[1190]=getch(),H(7))`. It need hardly be mentioned that this will not link in Unix systems (including macOS). +Clang required a `-Wno-` option as well. + Finally Cody provided the [bios.asm](/2013/cable3/bios.asm) that the author referred to, found at the [GitHub repo for the entry](https://github.com/adriancable/8086tiny/tree/master), and the 'ready-made