From cfeec9282657f1ac9741c8b0dea2821456a24b02 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 11 Dec 2019 15:51:12 +0300 Subject: [PATCH] use -Wunused-function for now --- vlib/compiler/cc.v | 1 + 1 file changed, 1 insertion(+) 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