From ec944a53cebec00688621ea6c516186ca69238f2 Mon Sep 17 00:00:00 2001 From: xiyoo0812 Date: Tue, 19 Sep 2023 16:53:44 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84mysql=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/quanta/quanta.mak | 1 + extend/laoi/laoi.mak | 1 + extend/lbson/lbson.mak | 1 + extend/lcodec/lcodec.mak | 1 + extend/lcrypt/lcrypt.mak | 1 + extend/lcurl/lcurl.mak | 1 + extend/ldetour/ldetour.mak | 1 + extend/ljson/ljson.mak | 1 + extend/lmake/share.lua | 1 + extend/lstdfs/lstdfs.mak | 1 + extend/ltimer/ltimer.mak | 1 + extend/lua/lua.mak | 1 + extend/lua/luac.mak | 1 + extend/lua/lualib.mak | 1 + extend/lualog/lualog.mak | 1 + extend/luapb/luapb.mak | 1 + extend/luaxlsx/luaxlsx.mak | 1 + extend/lworker/lworker.mak | 1 + extend/mimalloc/mimalloc.mak | 1 + 19 files changed, 19 insertions(+) diff --git a/core/quanta/quanta.mak b/core/quanta/quanta.mak index d93bfd59..8e9708d1 100644 --- a/core/quanta/quanta.mak +++ b/core/quanta/quanta.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/laoi/laoi.mak b/extend/laoi/laoi.mak index eb9e5db8..6344d32b 100644 --- a/extend/laoi/laoi.mak +++ b/extend/laoi/laoi.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/lbson/lbson.mak b/extend/lbson/lbson.mak index 44aec61e..e4958c4a 100644 --- a/extend/lbson/lbson.mak +++ b/extend/lbson/lbson.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/lcodec/lcodec.mak b/extend/lcodec/lcodec.mak index f59f0e60..9c0ecae4 100644 --- a/extend/lcodec/lcodec.mak +++ b/extend/lcodec/lcodec.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/lcrypt/lcrypt.mak b/extend/lcrypt/lcrypt.mak index 794e5078..88a143ab 100644 --- a/extend/lcrypt/lcrypt.mak +++ b/extend/lcrypt/lcrypt.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/lcurl/lcurl.mak b/extend/lcurl/lcurl.mak index 716b15a7..7601dbaf 100644 --- a/extend/lcurl/lcurl.mak +++ b/extend/lcurl/lcurl.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/ldetour/ldetour.mak b/extend/ldetour/ldetour.mak index 18a4d614..dcfa2734 100644 --- a/extend/ldetour/ldetour.mak +++ b/extend/ldetour/ldetour.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/ljson/ljson.mak b/extend/ljson/ljson.mak index 95b6d2c5..bfd36e06 100644 --- a/extend/ljson/ljson.mak +++ b/extend/ljson/ljson.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/lmake/share.lua b/extend/lmake/share.lua index c5203da9..e5d44110 100644 --- a/extend/lmake/share.lua +++ b/extend/lmake/share.lua @@ -16,6 +16,7 @@ FLAGS = { "Wno-sign-compare", "Wno-unused-variable", "Wno-unused-parameter", + "Wno-unused-but-set-variable", "Wno-unused-but-set-parameter", "Wno-unknown-pragmas" } diff --git a/extend/lstdfs/lstdfs.mak b/extend/lstdfs/lstdfs.mak index 1240afc9..af08f3c0 100644 --- a/extend/lstdfs/lstdfs.mak +++ b/extend/lstdfs/lstdfs.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/ltimer/ltimer.mak b/extend/ltimer/ltimer.mak index 60de93b7..489eabb3 100644 --- a/extend/ltimer/ltimer.mak +++ b/extend/ltimer/ltimer.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/lua/lua.mak b/extend/lua/lua.mak index a74ccf66..f0b61fd1 100644 --- a/extend/lua/lua.mak +++ b/extend/lua/lua.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/lua/luac.mak b/extend/lua/luac.mak index 98505e64..c98f5328 100644 --- a/extend/lua/luac.mak +++ b/extend/lua/luac.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/lua/lualib.mak b/extend/lua/lualib.mak index 216cb7d5..0ed88bc9 100644 --- a/extend/lua/lualib.mak +++ b/extend/lua/lualib.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/lualog/lualog.mak b/extend/lualog/lualog.mak index bbe964b8..42642b07 100644 --- a/extend/lualog/lualog.mak +++ b/extend/lualog/lualog.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/luapb/luapb.mak b/extend/luapb/luapb.mak index ea031a7d..7176f2d0 100644 --- a/extend/luapb/luapb.mak +++ b/extend/luapb/luapb.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/luaxlsx/luaxlsx.mak b/extend/luaxlsx/luaxlsx.mak index 8ffe32a9..7b188c40 100644 --- a/extend/luaxlsx/luaxlsx.mak +++ b/extend/luaxlsx/luaxlsx.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/lworker/lworker.mak b/extend/lworker/lworker.mak index 1d6c3fab..bb000c36 100644 --- a/extend/lworker/lworker.mak +++ b/extend/lworker/lworker.mak @@ -19,6 +19,7 @@ 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 diff --git a/extend/mimalloc/mimalloc.mak b/extend/mimalloc/mimalloc.mak index 76d8265c..c1db598c 100644 --- a/extend/mimalloc/mimalloc.mak +++ b/extend/mimalloc/mimalloc.mak @@ -19,6 +19,7 @@ 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