263 Star 427 Fork 2.9K

OpenHarmony / arkui_ace_engine

 / 详情

[Bug]: 在编译arm64位,输出日志格式报错

已拒绝
创建于  
2024-04-06 14:44

发生了什么问题?

[OHOS ERROR] ../../foundation/arkui/ace_engine/adapter/ohos/osal/js_accessibility_manager.cpp:2055:35: error: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Werror,-Wformat]
[OHOS ERROR] eventInfo.GetEventType(), static_cast<int64_t>(eventInfo.GetAccessibilityId()));
[OHOS ERROR] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[OHOS ERROR] ../../foundation/arkui/ace_engine/frameworks/base/log/log_wrapper.h:50:62: note: expanded from macro 'TAG_LOGD'
[OHOS ERROR] #define TAG_LOGD(tag, fmt, ...) PRINT_LOG(DEBUG, tag, fmt, ##VA_ARGS)
[OHOS ERROR] ~~~ ^~~~~~~~~~~
[OHOS ERROR] ../../foundation/arkui/ace_engine/frameworks/base/log/log_wrapper.h:40:56: note: expanded from macro 'PRINT_LOG'
[OHOS ERROR] FUNCTION ACE_LOG_ID_WITH_REASON, ##VA_ARGS);
[OHOS ERROR] ^~~~~~~~~~~
[OHOS ERROR] ../../foundation/arkui/ace_engine/adapter/ohos/osal/js_accessibility_manager.cpp:2090:38: error: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Werror,-Wformat]
[OHOS ERROR] eventInfoNew.GetEventType(), static_cast<int64_t>(eventInfoNew.GetAccessibilityId()));
[OHOS ERROR] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[OHOS ERROR] ../../foundation/arkui/ace_engine/frameworks/base/log/log_wrapper.h:50:62: note: expanded from macro 'TAG_LOGD'
[OHOS ERROR] #define TAG_LOGD(tag, fmt, ...) PRINT_LOG(DEBUG, tag, fmt, ##VA_ARGS)
[OHOS ERROR] ~~~ ^~~~~~~~~~~
[OHOS ERROR] ../../foundation/arkui/ace_engine/frameworks/base/log/log_wrapper.h:40:56: note: expanded from macro 'PRINT_LOG'
[OHOS ERROR] FUNCTION ACE_LOG_ID_WITH_REASON, ##VA_ARGS);
[OHOS ERROR] ^~~~~~~~~~~
[OHOS ERROR] 2 errors generated.

期望行为是什么?

编译arm64 不报错

如何复现该缺陷

./build.sh --product-name rk3568 --ccache --job=16 --target-cpu=arm64

其他补充信息

版本或分支信息

  • master
  • Release 4.1
  • Release 4.0
  • Release 3.2

评论 (1)

徐啟彬 创建了任务
徐啟彬 添加了
 
bug
标签
展开全部操作日志

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 @李俊峰 @caocan @jiangdayuan @shiyu_huang @徐承桦 @yanshuifeng @yangfan229 @Sunfei @何溯 @lushi1202 。如果需要调整订阅PR、Issue的变更状态,请访问链接

Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer @李俊峰 @caocan @jiangdayuan @shiyu_huang @徐承桦 @yanshuifeng @yangfan229 @Sunfei @何溯 @lushi1202 for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

openharmony_ci 添加了
 
waiting_for_assign
标签
徐啟彬 修改了描述
徐啟彬 任务状态待办的 修改为已拒绝

登录 后才可以发表评论

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

搜索帮助