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
wandongdong
Feb 26 Create

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 / 必填)

编译成功

image.png

Special notes for this issue/备注 (Optional / 选填)

likedislike
philo
philoCollaborators
Feb 27 Comments:

@wandongdong 该问题在高版本gcc会出现,已在主线修复,我们同步一下到9.0.0.beta.1该分支

likedislike
chenke2026Collaborators
Feb 27 Comments:

/approve

likedislike
philo
philoCollaborators
Feb 27 Comments:

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

likedislike
wandongdong
Mar 2 Comments:

有新的报错:
image.png

likedislike
LLeewisCollaborators
Mar 4 Associated pull request
LLeewisCollaborators
Mar 10 Associated pull request
Yuanhao Ji
Yuanhao Ji
Mar 21 Comments:

/assign

likedislike
CANN-robotCANN-robotCollaborators
Mar 21 Assign jiyuanhao as responsible person
Yuanhao Ji
Yuanhao Ji
Mar 21 Comments:

适配高版本 gcc 的代码已于三周前在主线合入,需要回合至该分支:

likedislike
Yuanhao JiYuanhao Ji
Mar 21 Associated pull request
Yuanhao Ji
Yuanhao Ji
Mar 21 Comments:

该问题已在下列 pr 中修复,麻烦再基于最新代码试一下,如有问题请再反馈,感谢

likedislike
Yuanhao JiYuanhao Ji
Mar 21 changed custom state from 进行中 to 已完成
Yuanhao JiYuanhao Ji
Mar 21 Close issue
LLeewisCollaborators
Apr 27 associated Kanban: HCCL
LLeewisCollaborators
Sep 2 removed Kanban: HCCL