scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 9da1ff92446881cb9dcc0ef5c688e3c2266c743f
parent 64f3c7719d5c78a2fb962d66ec7d04f7bb15db8f
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 17 Oct 2024 09:47:38 +0200

tests/cc: Add warnings to update.sh

The flag -w disables warnings while -W enables them.

Diffstat:
Mtests/cc/error/update.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/cc/error/update.sh b/tests/cc/error/update.sh @@ -3,7 +3,7 @@ for i do (echo '/^PATTERN/+;/^\./-c' - scc $CFLAGS -w -c $i 2>&1 + scc $CFLAGS -W -c $i 2>&1 printf ".\nw\n" echo w) | ed -s $i