fix: 当前仓代码编译告警的问题

【背景】
当前仓代码存在编译告警需要处理

【修改方案】
在测试用例中屏蔽了-Werror选项
在对应的代码处添加了相应函数的声明头文件

【影响】
对现有的产品编译不会有影响。

re #I4N50W

Signed-off-by: yinjiaming <yinjiaming@huawei.com>
Change-Id: I7dc1e38105aa3d60f9f991f34f88875cccb48463
This commit is contained in:
yinjiaming
2022-01-18 13:33:09 +00:00
parent a305119a4a
commit 194ac5898d
46 changed files with 84 additions and 53 deletions

View File

@@ -33,6 +33,7 @@ module_switch = defined(LOSCFG_KERNEL_CPPSUPPORT)
module_name = get_path_info(rebase_path("."), "name")
kernel_module(module_name) {
sources = [ "los_cppsupport.c" ]
configs += [ "$LITEOSTOPDIR:warn_config" ]
}
config("public") {