Since the recent merge in taglib, the Amarok application fails to compile. Errors: > In file included from /local/git/extragear/multimedia/amarok/shared/MetaReplayGain.cpp:29:0: > /local/kde4/include/taglib/textidentificationframe.h:39:13: error: 'Map' does not name a type > /local/kde4/include/taglib/textidentificationframe.h:195:20: error: 'KeyConversionMap' does not name a type > In file included from /local/git/extragear/multimedia/amarok/shared/MetaReplayGain.cpp:31:0: > /local/kde4/include/taglib/fileref.h:92:25: warning: 'class TagLib::FileRef::FileTypeResolver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] > make[2]: *** [src/CMakeFiles/amaroklib.dir/__/shared/MetaReplayGain.o] Error 1 > make[2]: Target `src/CMakeFiles/amaroklib.dir/build' not remade because of errors. > make[1]: *** [src/CMakeFiles/amaroklib.dir/all] Error 2 > In file included from /local/git/extragear/multimedia/amarok/shared/MetaReplayGain.cpp:29:0: > /local/kde4/include/taglib/textidentificationframe.h:39:13: error: 'Map' does not name a type > /local/kde4/include/taglib/textidentificationframe.h:195:20: error: 'KeyConversionMap' does not name a type > In file included from /local/git/extragear/multimedia/amarok/shared/MetaReplayGain.cpp:31:0: > /local/kde4/include/taglib/fileref.h:92:25: warning: 'class TagLib::FileRef::FileTypeResolver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] > make[2]: *** [utilities/collectionscanner/CMakeFiles/amarokcollectionscanner.dir/__/__/shared/MetaReplayGain.o] Error 1 > make[2]: Target `utilities/collectionscanner/CMakeFiles/amarokcollectionscanner.dir/build' not remade because of errors. > make[1]: *** [utilities/collectionscanner/CMakeFiles/amarokcollectionscanner.dir/all] Error 2 > make[1]: Target `all' not remade because of errors. > make: *** [all] Error 2 > make: Target `default_target' not remade because of errors. > -- Failed: extragear/multimedia/amarok
Created attachment 70001 [details] Include tmap.h to fix compile of Amarok This is because a new typedef was introduced, using a "Map". But the "Map" type is not explicitly included by Amarok code. If this header needs the Map type defined, it should include the appropriate file.
Fixed with commit 2297a6d531e3e1d347c394095ae14403a11bb6dd