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

inline compilation error with cmsis_armclang.h and C90 language #175

Open
DGA45 opened this issue Jun 14, 2024 · 1 comment
Open

inline compilation error with cmsis_armclang.h and C90 language #175

DGA45 opened this issue Jun 14, 2024 · 1 comment

Comments

@DGA45
Copy link

DGA45 commented Jun 14, 2024

In the latest cmsis_armclang.h, we have:
#define __INLINE inline

However, "inline" is a valid keyword only from C99 language.
For C90, ARM compiler v6 recognizes only __inline or inline keywords.

Additional remark: the @Date of the file is "27. July 2024" while it was committed in February 2024

@ReinhardKeil
Copy link
Contributor

ReinhardKeil commented Jun 14, 2024

Note: CMSIS is written for C99 and higher (it never supported C90) - see here https://arm-software.github.io/CMSIS_6/latest/General/index.html#coding_rules.

Thanks for pointing out the problem with the @Date

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

No branches or pull requests

2 participants