Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp-clang支持? (IDFGH-14651) #95

Open
3 tasks done
DreamSilverFox opened this issue Feb 14, 2025 · 3 comments
Open
3 tasks done

esp-clang支持? (IDFGH-14651) #95

DreamSilverFox opened this issue Feb 14, 2025 · 3 comments
Assignees

Comments

@DreamSilverFox
Copy link

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Provided a clear description of your suggestion.
  • Included any relevant context or examples.

Issue or Suggestion Description

我使用ESP32 & "Espressif\tools\esp-clang\esp-18.1.2_20240912\esp-clang\bin" & **C++**去构建,但是失败了,看上去问题基本上是GCC和Clang的兼容性问题?
请问,有支持esp-clang的计划吗?

@github-actions github-actions bot changed the title esp-clang支持? esp-clang支持? (IDFGH-14651) Feb 14, 2025
@alisitsyn
Copy link
Collaborator

@DreamSilverFox,

Thank you for the issue.

我使用ESP32 & "Espressif\tools\esp-clang\esp-18.1.2_20240912\esp-clang\bin" & **C++**去构建,但是失败了,看上去问题基本上是GCC和Clang的兼容性问题?
请问,有支持esp-clang的计划吗?

Yes, it is planned to add support of the esp-clang into esp-modbus project pipeline. Unfortunately, this was postponed for a while. As I remember the esp-clang was working just fine on my side. Please add more information (logs) to clarify your issue. I can ask the tools team to help with this issue if necessary.

Thanks.

@DreamSilverFox
Copy link
Author

@DreamSilverFox,

Thank you for the issue.

我使用ESP32 & "Espressif\tools\esp-clang\esp-18.1.2_20240912\esp-clang\bin" & **C++**去构建,但是失败了,看上去问题基本上是GCC和Clang的兼容性问题?
请问,有支持esp-clang的计划吗?

Yes, it is planned to add support of the esp-clang into esp-modbus project pipeline. Unfortunately, this was postponed for a while. As I remember the esp-clang was working just fine on my side. Please add more information (logs) to clarify your issue. I can ask the tools team to help with this issue if necessary.

Thanks.

  1. I find some problem from C++ , "IDFGH-14441" fix it.
  2. transp_obj used before define, MB_RETURN_ON_FALSE, MB_GOTO_ON_FALSE
  3. MB_STR_CAT error: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
  4. MB_OBJ_PARENT also '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]

@alisitsyn alisitsyn self-assigned this Feb 21, 2025
@alisitsyn
Copy link
Collaborator

Thank you for feedback. I will take a look to it ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants