Closed
[Bug-Report|缺陷反馈]: 强制转换编译报错implicit conversion from 'enum transport_mode_t' to 'urma_transport_mode_t' {aka 'enum urma_transport_mode'} #73
wandongdongAdd on Feb 26Closed at Mar 21
philo
Feb 27 Comments:
Feb 27 Comments:
@wandongdong 该问题在高版本gcc会出现,已在主线修复,我们同步一下到9.0.0.beta.1该分支


chenke2026
Feb 27 Comments:
Feb 27 Comments:
/approve


philo
Feb 27 Comments:
Feb 27 Comments:
@wandongdong 问题已修复合入9.0.0.beta.1分支,请使用9.0.0.beta.1分支代码


wandongdong
Mar 2 Comments:
Mar 2 Comments:
有新的报错:



Yuanhao Ji
Mar 21 Comments:
Mar 21 Comments:
/assign


Mar 21 Assign jiyuanhao as responsible person
Yuanhao Ji
Mar 21 Comments:
Mar 21 Comments:
适配高版本 gcc 的代码已于三周前在主线合入,需要回合至该分支:


Mar 21 Associated pull request
Yuanhao Ji
Mar 21 Comments:
Mar 21 Comments:
该问题已在下列 pr 中修复,麻烦再基于最新代码试一下,如有问题请再反馈,感谢


Mar 21 changed custom state from 进行中 to 已完成
Mar 21 Close issue
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
编译报强制转换的错:
implicit conversion from 'enum transport_mode_t' to 'urma_transport_mode_t' {aka 'enum urma_transport_mode'}
Environment / 环境信息 (Mandatory / 必填)
910B,A+K
cann 8.5.0
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04.2)
root@k8s-node1:/home/workspace/hcomm# cmake --version
cmake version 3.22.1
tag:9.0.0.beta.1
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
bash build.sh --pkg
Describe the expected behavior / 预期结果 (Mandatory / 必填)
编译成功
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
Special notes for this issue/备注 (Optional / 选填)