From 7154fe21e2357ba1e8aa6232d9b0a57083b80d93 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 30 Oct 2025 13:59:31 +0100 Subject: Compile: store sh in array, not in array buffer --- src/Compile/Exec.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Compile') diff --git a/src/Compile/Exec.hs b/src/Compile/Exec.hs index 9b9fb15..cc6d5fa 100644 --- a/src/Compile/Exec.hs +++ b/src/Compile/Exec.hs @@ -42,7 +42,8 @@ buildKernel csource funname = do ,"-o", outso, "-" ,"-Wall", "-Wextra" ,"-Wno-unused-variable", "-Wno-unused-but-set-variable" - ,"-Wno-unused-parameter", "-Wno-unused-function"] + ,"-Wno-unused-parameter", "-Wno-unused-function" + ,"-Wno-alloc-size-larger-than"] -- ideally we'd keep this, but gcc reports false positives (ec, gccStdout, gccStderr) <- readProcessWithExitCode "gcc" args csource -- Print the source before the GCC output. -- cgit v1.2.3-70-g09d2