diff --git a/extend/ldetour/ldetour.lmak b/extend/ldetour/ldetour.lmak index 5dac00b7..9a771b7e 100644 --- a/extend/ldetour/ldetour.lmak +++ b/extend/ldetour/ldetour.lmak @@ -8,7 +8,7 @@ TARGET_NAME = "ldetour" PROJECT_TYPE = "dynamic" FLAGS = { - "Wclass-memaccess" + "Wno-class-memaccess" } --需要的include目录 diff --git a/extend/ldetour/ldetour.mak b/extend/ldetour/ldetour.mak index a31db79d..50f9e7ac 100644 --- a/extend/ldetour/ldetour.mak +++ b/extend/ldetour/ldetour.mak @@ -20,7 +20,7 @@ MYCFLAGS += -Wno-unused-variable MYCFLAGS += -Wno-unused-parameter MYCFLAGS += -Wno-unused-but-set-variable MYCFLAGS += -Wno-unused-but-set-parameter -MYCFLAGS += -Wclass-memaccess +MYCFLAGS += -Wno-class-memaccess #c标准库版本 #gnu99/gnu11/gnu17