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

all: fix remaining c warnings and add -Werror to CI (#7021)

This commit is contained in:
ka-weihe
2020-11-29 20:23:37 +01:00
committed by GitHub
parent 5eb7660608
commit 9367dcda10
8 changed files with 22 additions and 20 deletions

View File

@@ -316,7 +316,7 @@ fn (mut v Builder) cc() {
//
if is_cc_clang {
if debug_mode {
debug_options = '-g3 -O0 -no-pie'
debug_options = '-g3 -O0'
}
optimization_options = '-O3'
mut have_flto := true