summaryrefslogtreecommitdiff
path: root/src/Compile
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-03-27 10:35:35 +0100
committerTom Smeding <tom@tomsmeding.com>2025-03-27 10:35:35 +0100
commitdfb790ab064746bbfa2e2da5c634ca8038d91e6c (patch)
tree908600b7610f0481c52842d489883af4abaa9dd9 /src/Compile
parentadbe3c3c75ecd1a0a6f38165329694f309d6891c (diff)
Compile: Better alloc & refc debug facilities
Diffstat (limited to 'src/Compile')
-rw-r--r--src/Compile/Exec.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Compile/Exec.hs b/src/Compile/Exec.hs
index b01b715..9b29486 100644
--- a/src/Compile/Exec.hs
+++ b/src/Compile/Exec.hs
@@ -39,7 +39,8 @@ buildKernel csource funnames = do
,"-shared", "-fPIC"
,"-std=c99", "-x", "c"
,"-o", outso, "-"
- ,"-Wall", "-Wextra", "-Wno-unused-variable", "-Wno-unused-parameter"]
+ ,"-Wall", "-Wextra"
+ ,"-Wno-unused-variable", "-Wno-unused-parameter", "-Wno-unused-function"]
(ec, gccStdout, gccStderr) <- readProcessWithExitCode "gcc" args csource
-- Print the source before the GCC output.