fix: 修复shcmd.h需要用宏包起来的问题
【背景】 当前仓代码存在编译告警需要处理 【修改方案】 在测试用例中屏蔽-Werror 从shell.h中删除了多余的bool定义 【影响】 对现有的产品编译不会有影响。 re #I4N50W Signed-off-by: yinjiaming <yinjiaming@huawei.com> Change-Id: Id131b8437b471f44d9fe35a384678903216fcfb4
This commit is contained in:
parent
997e61ed53
commit
6c4e4b16ab
|
@ -67,7 +67,6 @@ extern "C" {
|
|||
#define QUOTES_STATUS_CLOSE(qu) ((qu) == FALSE)
|
||||
#define QUOTES_STATUS_OPEN(qu) ((qu) == TRUE)
|
||||
|
||||
typedef size_t bool;
|
||||
|
||||
typedef struct {
|
||||
unsigned int consoleID;
|
||||
|
|
|
@ -35,6 +35,7 @@ local_flags = [
|
|||
"-fbuiltin",
|
||||
"-Wno-narrowing",
|
||||
"-fPIE",
|
||||
"-Wno-error",
|
||||
]
|
||||
if (LOSCFG_USER_TEST_SMP == "enable" ||
|
||||
(LOSCFG_USER_TEST_SMP == "default" && board_name == "hispark_taurus")) {
|
||||
|
|
Loading…
Reference in New Issue