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

The macro mfcpsr in xpseudo_asm_armclang.h uses incorrect asm keyword #105

Open
sdshlanta opened this issue Nov 25, 2019 · 1 comment
Open

Comments

@sdshlanta
Copy link

The macro mfcpsr in xpseudo_asm_armclang.h uses incorrect asm keyword. This causes any code which uses it to not compile under clang.

The asm keyword is gcc specific and therefore somewhat unhelpful in the clang specific asm definition file. The correct keyword in this case would be __asm__.

sdshlanta added a commit to sdshlanta/embeddedsw that referenced this issue Nov 25, 2019
Fixed problem described in this issue Xilinx#105
@mubinsyed
Copy link
Contributor

Hi @sdshlanta ,

That macro is compiling fine with armclang 6.7, may be you are using older version. Anyways, we will integrate this pull request in 2020.1 release.

Thanks,
Mubin

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