Opened 13 years ago

Closed 13 years ago

#2560 closed defect (fixed)

Compilation problem mythmusic 0.20 fixes

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythmusic Version: 0.20
Severity: medium Keywords: compilation music playlist.cpp
Cc: Ticket locked: no

Description

Using gcc version 3.3.6

Compiling mythmusic stops with this error :

playlist.cpp: In member function `int Playlist::writeTree(GenericTree?*, int)': playlist.cpp:918: error: ISO C++ forbids declaration of `map' with no type playlist.cpp:918: error: template-id `map<QString, uint32_t>' used as a

declarator

playlist.cpp:918: error: parse error before `;' token playlist.cpp:919: error: `AlbumMap?' undeclared (first use this function) playlist.cpp:919: error: (Each undeclared identifier is reported only once for

each function it appears in.)

playlist.cpp:1003: error: `Ialbum' undeclared (first use this function) playlist.cpp:1003: error: `album_map' undeclared (first use this function) playlist.cpp:1008: error: parse error before `::' token distcc[6430] ERROR: compile on localhost failed make[2]: * [playlist.o] Error 1 make[2]: Leaving directory `/mnt/store/mythtv/mythplugins/mythmusic/mythmusic' make[1]: * [sub-mythmusic] Error 2 make[1]: Leaving directory `/mnt/store/mythtv/mythplugins/mythmusic' make: * [sub-mythmusic] Error 2


With --disable-mythmusic all the other modules compile and work just fine.

Change History (3)

comment:1 Changed 13 years ago by anonymous

I'm using qt-3.3.1 BTW

comment:2 Changed 13 years ago by Colin Guthrie <mythtv@…>

Can someone apply r11248 to fixes please - mentioned on the mailing list.

comment:3 Changed 13 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [11603]) Apply [11248] to fixes. Closes #2560

Note: See TracTickets for help on using tickets.