Skip to content

Commit

Permalink
修复编译警告
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyoo0812 committed May 8, 2024
1 parent ef95459 commit e30cd58
Show file tree
Hide file tree
Showing 25 changed files with 3 additions and 169 deletions.
7 changes: 0 additions & 7 deletions core/luabus/luabus.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions core/quanta/quanta.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions extend/laoi/laoi.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions extend/lbson/lbson.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions extend/lcodec/lcodec.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions extend/ldetour/ldetour.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions extend/ljson/ljson.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas
MYCFLAGS += -Wno-implicit-fallthrough

#c标准库版本
Expand Down
7 changes: 0 additions & 7 deletions extend/lmake/share.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ ENABLE = true

--需要的FLAGS
BASE_FLAGS = {
"Wsign-compare",
"Wno-sign-compare",
"Wno-unused-variable",
"Wno-unused-parameter",
"Wno-unused-but-set-variable",
"Wno-unused-but-set-parameter",
"Wno-unknown-pragmas"
}

--FLAGS
Expand Down
7 changes: 0 additions & 7 deletions extend/lmdb/lmdb.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas
MYCFLAGS += -Wno-implicit-fallthrough

#c标准库版本
Expand Down
7 changes: 0 additions & 7 deletions extend/lminiz/lminiz.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas
MYCFLAGS += -Wno-implicit-fallthrough

#c标准库版本
Expand Down
7 changes: 0 additions & 7 deletions extend/lsqlite/lsqlite.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas
MYCFLAGS += -Wno-implicit-fallthrough

#c标准库版本
Expand Down
7 changes: 0 additions & 7 deletions extend/lssl/lssl.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas
MYCFLAGS += -Wno-implicit-fallthrough

#c标准库版本
Expand Down
7 changes: 0 additions & 7 deletions extend/lstdfs/lstdfs.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions extend/ltimer/ltimer.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions extend/lua/lua.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions extend/lua/luac.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions extend/lua/lualib.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions extend/lualog/lualog.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions extend/luapb/luapb.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions extend/luaxlsx/luaxlsx.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas
MYCFLAGS += -Wno-implicit-fallthrough

#c标准库版本
Expand Down
7 changes: 0 additions & 7 deletions extend/luaxml/luaxml.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
3 changes: 2 additions & 1 deletion extend/lunqlite/lunqlite.lmak
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ TARGET_NAME = "lunqlite"
PROJECT_TYPE = "dynamic"

FLAGS = {
"Wno-implicit-fallthrough"
"Wno-implicit-fallthrough",
"Wmisleading-indentation"
}

--需要的include目录
Expand Down
8 changes: 1 addition & 7 deletions extend/lunqlite/lunqlite.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,8 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas
MYCFLAGS += -Wno-implicit-fallthrough
MYCFLAGS += -Wmisleading-indentation

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions extend/lworker/lworker.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down
7 changes: 0 additions & 7 deletions extend/mimalloc/mimalloc.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wsign-compare
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
MYCFLAGS += -Wno-unused-but-set-parameter
MYCFLAGS += -Wno-unknown-pragmas

#c标准库版本
#gnu99/gnu11/gnu17
Expand Down

0 comments on commit e30cd58

Please sign in to comment.