30 Star 89 Fork 453

OpenHarmony / third_party_musl

 / 详情

vfprintf.c中CHAR定义与los_typedef.h中的冲突

已完成
任务
创建于  
2021-04-12 16:51

该问题是怎么引起的?

在limit.h中#include "los_config.h"

重现步骤

删除vfprintf.c中的#define CHAR _CHAR#undef CHAR

报错信息

[OHOS ERROR] vfprintf.c:45:17: error: redefinition of 'CHAR'
[OHOS ERROR]         SHORT, USHORT, CHAR, UCHAR,
[OHOS ERROR]                        ^
[OHOS ERROR] /home/caoruihong/code/openharmony/kernel/liteos_a/kernel/include/los_typedef.h:63:28: note: previous definition is here
[OHOS ERROR] typedef char               CHAR;
[OHOS ERROR]                            ^

评论 (0)

Caoruihong 创建了任务
Caoruihong 通过openharmony/third_party_musl Pull Request !17任务状态待办的 修改为已完成
展开全部操作日志

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(1)
7989137 caoruihong 1601432415
1
https://gitee.com/openharmony/third_party_musl.git
git@gitee.com:openharmony/third_party_musl.git
openharmony
third_party_musl
third_party_musl

搜索帮助