diff --git a/vlib/compiler/cc.v b/vlib/compiler/cc.v index 8e1ecc9dc9..69e470576f 100644 --- a/vlib/compiler/cc.v +++ b/vlib/compiler/cc.v @@ -87,6 +87,7 @@ fn (v mut V) cc() { //'-Wno-unused-but-set-variable', '-Wno-unused-parameter', '-Wno-unused-result', + '-Wunused-function', '-Wno-missing-braces', '-Wno-unused-label'] // TCC on Linux by default, unless -cc was provided