1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix for the "v.c should be buildable with no warnings" step in v test-all

This commit is contained in:
Delyan Angelov 2021-09-28 10:33:34 +03:00
parent 85b58b03a3
commit bf0b86774a
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -148,7 +148,7 @@ fn get_all_commands() []Command {
}
$if macos || linux {
res << Command{
line: '$vexe -o v.c cmd/v && cc -I "$vroot/thirdparty/stdatomic/nix" -lpthread v.c && rm -rf a.out'
line: '$vexe -o v.c cmd/v && cc -Werror -I "$vroot/thirdparty/stdatomic/nix" v.c -lpthread && rm -rf a.out'
label: 'v.c should be buildable with no warnings...'
okmsg: 'v.c can be compiled without warnings. This is good :)'
rmfile: 'v.c'