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

error: empty enum is invalid (IDFGH-13845) #14694

Open
3 tasks done
RDobrinov opened this issue Oct 9, 2024 · 1 comment
Open
3 tasks done

error: empty enum is invalid (IDFGH-13845) #14694

RDobrinov opened this issue Oct 9, 2024 · 1 comment
Assignees
Labels
Awaiting Response awaiting a response from the author Status: Opened Issue is new Type: Bug bugs in IDF

Comments

@RDobrinov
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

v5.3.1 & 5.4-dev ( master branch )

Operating System used.

Linux

How did you build your project?

VS Code IDE

If you are using Windows, please specify command line type.

None

What is the expected behavior?

Compile without errors

What is the actual behavior?

Error thrown v5.3.1/esp-idf/components/wifi_provisioning/include/wifi_provisioning/manager.h:214:1: error: empty enum is invalid

Steps to reproduce.

Disable all protocomm configuration in menuconfig

Build or installation Logs.

In file included from /home/xxxxxx/esp/v5.3.1/esp-idf/components/wifi_provisioning/include/wifi_provisioning/scheme_softap.h:20,
                 from /home/xxxxxx/esp/v5.3.1/esp-idf/components/wifi_provisioning/src/scheme_softap.c:16:
/home/xxxxxx/esp/v5.3.1/esp-idf/components/wifi_provisioning/include/wifi_provisioning/manager.h:214:1: error: empty enum is invalid
  214 | } wifi_prov_security_t;
      | ^

More Information.

bugged code
manager.h define empty enum when all protocomm security versions are unchecked in Component config → Protocomm

@RDobrinov RDobrinov added the Type: Bug bugs in IDF label Oct 9, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Oct 9, 2024
@github-actions github-actions bot changed the title error: empty enum is invalid error: empty enum is invalid (IDFGH-13845) Oct 9, 2024
@hrushikesh430
Copy link
Collaborator

Hello @RDobrinov could you please let me know what is your use case? If you want no security you can enable CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0 which is equivalent to no security.

@hrushikesh430 hrushikesh430 self-assigned this Oct 10, 2024
@espressif-bot espressif-bot added the Awaiting Response awaiting a response from the author label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Response awaiting a response from the author Status: Opened Issue is new Type: Bug bugs in IDF
Projects
None yet
Development

No branches or pull requests

3 participants