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

Compile Warning #149

Open
bypepe opened this issue Mar 22, 2024 · 0 comments
Open

Compile Warning #149

bypepe opened this issue Mar 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bypepe
Copy link

bypepe commented Mar 22, 2024

esp_dmx\src\dmx\driver.c: In function 'dmx_driver_install':
esp_dmx\src\dmx\driver.c:49:32: warning: passing argument 2 of 'rdm_register_manufacturer_label' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#define RDM_MANUFACTURER_LABEL "esp_dmx"
^~~~~~~~~
esp_dmx\src\dmx\driver.c:214:44: note: in expansion of macro 'RDM_MANUFACTURER_LABEL'
rdm_register_manufacturer_label(dmx_num, RDM_MANUFACTURER_LABEL, NULL, NULL);
^~~~~~~~~~~~~~~~~~~~~~
In file included from esp_dmx\src/rdm/responder.h:53,
from esp_dmx\src/rdm/responder/include/utils.h:13,
from esp_dmx\src/dmx/include/service.h:16,
from \esp_dmx\src\dmx\driver.c:9:
esp_dmx\src/rdm/responder/include/product_info.h:152:44: note: expected 'char *' but argument is of type 'const char *'
char *manufacturer_label,

@someweisguy someweisguy added the bug Something isn't working label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants