-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[BUG] Uncrustify breaks inline asm code for Renesas CC-RX compiler #90
Comments
Hello, I think that one possible solution for type (2) is as following. (But I can't guess what causes type (1).) One possible solution for type (2): (Step 1) Revert changes made by Uncrustify in case of source files for CC-RX compiler. Best regards, |
Thank you for bringing this to our attention @NoMaY-jpm, I will begin investigating this issue. |
Thank you for your attention @lundinc2. I noticed more inline asm codes which cause compile error. The below 1st and 2nd instructions are used in the Renesas RX600v2 port layer etc. The 3rd ~ 6th instructions will be used new Renesas RX700v3 DPFPU port layer which is being prepared by me for new pull request. Unfortunately white spaces around hyphen causes compiler error when Renesas CC-RX compiler is used. Before Style:Uncrustify - Compiler error is not caused.
After Style:Uncrustify - Compiler error is caused.
|
Reverting files are merged. |
Hello,
I notice the following two problems caused by Uncrustify.
(1) There are some mistakes of indent.
(2) Single line comment starting with ';' is moved to the next line. This causes compile error.
For example, following changes had been made.
portable/Renesas/RX600v2/port.c
Before:
After:
Best regards,
NoMaY
The text was updated successfully, but these errors were encountered: