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

Cannot compile header in C++ (mcpwm_struct.h) (IDFGH-5840) #7542

Closed
pawel-soja opened this issue Sep 9, 2021 · 1 comment
Closed

Cannot compile header in C++ (mcpwm_struct.h) (IDFGH-5840) #7542

pawel-soja opened this issue Sep 9, 2021 · 1 comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@pawel-soja
Copy link

The name operator for the variable is not valid for C++.

volatile mcpwm_operator_reg_t operator[3];

Compile error:

idf/master/components/soc/esp32/include/soc/mcpwm_struct.h:1443:43: error: expected type-specifier before '[' token
     volatile mcpwm_operator_reg_t operator[3];
@espressif-bot espressif-bot added the Status: Opened Issue is new label Sep 9, 2021
@github-actions github-actions bot changed the title Cannot compile header in C++ (mcpwm_struct.h) Cannot compile header in C++ (mcpwm_struct.h) (IDFGH-5840) Sep 9, 2021
@espressif-bot espressif-bot added Status: In Progress Work is in progress and removed Status: Opened Issue is new labels Sep 10, 2021
@SalimTerryLi
Copy link
Contributor

Hi @pawel-soja Thanks for reporting that, and the fix is coming in soon :)

@espressif-bot espressif-bot added Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: In Progress Work is in progress Resolution: NA Issue resolution is unavailable labels Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

3 participants