Compilation error with clang #16

Closed
opened 1 year ago by ofiala · 1 comments
ofiala commented 1 year ago

When I try compiling with clang I get the following error:

../modules/mpd.c:322:16: error: implicit conversion from enumeration type 'enum_mpd_state' to diffe
rent enumeration type 'enum state' [-Werror,-Wenum-conversion]
    m->state = mpd_status_get_state(status);
             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
When I try compiling with clang I get the following error: ``` ../modules/mpd.c:322:16: error: implicit conversion from enumeration type 'enum_mpd_state' to diffe rent enumeration type 'enum state' [-Werror,-Wenum-conversion] m->state = mpd_status_get_state(status); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
dnkl added the
bug
label 1 year ago
dnkl self-assigned this 1 year ago
dnkl closed this issue 1 year ago
dnkl commented 1 year ago
Owner

Thanks for reporting! Should be fixed in 8a7e07af28

Thanks for reporting! Should be fixed in https://codeberg.org/dnkl/yambar/commit/8a7e07af285d4e4c7be4086b1da25661b3ec9007
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.