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 6bded17 commit b8b5a0d
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/luabus/luabus.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions core/quanta/quanta.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/laoi/laoi.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/lbson/lbson.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/lcodec/lcodec.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
2 changes: 1 addition & 1 deletion extend/lcodec/src/mysql.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ namespace lcodec {
size_t column_count = decode_length_encoded_number();
// field metadata
mysql_columns columns;
for (int i = 0; i < column_count; ++i) {
for (size_t i = 0; i < column_count; ++i) {
recv_packet();
field_decode(columns);
}
Expand Down
1 change: 1 addition & 0 deletions extend/ldetour/ldetour.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/ljson/ljson.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/lmake/share.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ENABLE = true

--需要的FLAGS
BASE_FLAGS = {
"Wno-sign-compare",
"Wno-unused-variable",
"Wno-unused-parameter",
"Wno-unused-but-set-variable",
Expand Down
1 change: 1 addition & 0 deletions extend/lmdb/lmdb.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/lminiz/lminiz.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/lsqlite/lsqlite.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/lssl/lssl.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/lstdfs/lstdfs.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/ltimer/ltimer.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/lua/lua.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/lua/luac.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/lua/lualib.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/lualog/lualog.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/luapb/luapb.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/luaxlsx/luaxlsx.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/luaxml/luaxml.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/lunqlite/lunqlite.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/lworker/lworker.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down
1 change: 1 addition & 0 deletions extend/mimalloc/mimalloc.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ all : pre_build target post_build
MYCFLAGS =

#需要定义的FLAG
MYCFLAGS += -Wno-sign-compare
MYCFLAGS += -Wno-unused-variable
MYCFLAGS += -Wno-unused-parameter
MYCFLAGS += -Wno-unused-but-set-variable
Expand Down

0 comments on commit b8b5a0d

Please sign in to comment.