Ticket #142 (closed defect: fixed)
Compilation error with libmpdclient
| Reported by: | maxwell | Owned by: | ekilfoil |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | gui | Version: | 0.0 |
| Keywords: | Cc: |
Description
Trying to compile the latest svn Mangler with MPD integration (and HAVE_LIBMPDCLIENT=1) gives me the following error:
manglerintegration.cpp: In member function ‘bool ManglerIntegration::update(bool, const gchar*)’:
manglerintegration.cpp:80: error: jump to case label
manglerintegration.cpp:64: error: crosses initialization of ‘mpd_song* current_song’
manglerintegration.cpp:61: error: crosses initialization of ‘int current_song_pos’
manglerintegration.cpp:52: error: crosses initialization of ‘mpd_state current_state’
manglerintegration.cpp:49: error: crosses initialization of ‘mpd_status* status’
manglerintegration.cpp:40: error: crosses initialization of ‘mpd_idle idle_status’
make[2]: *** [manglerintegration.o] Error 1
