Skip to content

Conversation

dlktdr
Copy link

@dlktdr dlktdr commented May 18, 2021

There is a define of _current in zephyr. Causes the code to not compile.

Defined here..

https://github.com/zephyrproject-rtos/zephyr/blob/cd9421a45e7254de6be913debe153dbac4be1e91/include/kernel_structs.h#L186

Suggest changing the name to __ Don't know if it's your problem or theirs.

There is a define of _current in zephyr. Causes the code to not compile.

Defined here..

https://github.com/zephyrproject-rtos/zephyr/blob/cd9421a45e7254de6be913debe153dbac4be1e91/include/kernel_structs.h#L186

Suggest changing the name to __ Don't know if it's your problem or theirs.
@bblanchon
Copy link
Owner

Hi @dlktdr,

Thank you very much for this PR 👍
This is clearly a problem on Zephyr's side: they should not #define random names like that.
Please open an issuer/PR on their side, and let me know if they accept the change.

Best regards,
Benoit

@dlktdr
Copy link
Author

dlktdr commented May 18, 2021

Will do.

@bblanchon
Copy link
Owner

Hi @dlktdr,
Any answer from Zephyr?

@bblanchon bblanchon closed this Jul 19, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants