Taglib2 ebmlmatroskafile.cpp error with MSVS2010

Festus Hagen festushagenlists at yahoo.com
Sun Jul 28 06:48:20 UTC 2013


Hi all,

WinXPsp3
Microsoft Visual Studio 2010
Taglib2
Compilation error, ebml\matroska\ebmlmatroskafile.cpp, line #408 ... Sorry don't know how to resolve it.

C:\Program Files\Microsoft Visual Studio 10.0\VC\include\utility(163): error C2440: 'initializing' : cannot convert from 'int' to 'TagLib::EBML::Element *' [taglib\taglib\tag.vcxproj]
          Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
          C:\Program Files\Microsoft Visual Studio 10.0\VC\include\utility(247) : see reference to function template instantiation 'std::_Pair_base<_Ty1,_Ty2>::_Pair_base<_Ty,const TagLib::EBML::ulli&>(_Other1 &&,_Other2)' being compiled
          with
          [
              _Ty1=TagLib::EBML::Element *,
              _Ty2=TagLib::EBML::ulli,
              _Ty=int,
              _Other1=int,
              _Other2=const TagLib::EBML::ulli &
          ]
          ebml\matroska\ebmlmatroskafile.cpp(408) : see reference to function template instantiation 'std::pair<_Ty1,_Ty2>::pair<int,const TagLib::EBML::ulli&>(_Other1 &&,_Other2)' being compiled
          with
          [
              _Ty1=TagLib::EBML::Element *,
              _Ty2=TagLib::EBML::ulli,
              _Other1=int,
              _Other2=const TagLib::EBML::ulli &
          ]
C:\Program Files\Microsoft Visual Studio 10.0\VC\include\utility(163): error C2439: 'std::_Pair_base<_Ty1,_Ty2>::first' : member could not be initialized [taglib\taglib\tag.vcxproj]
          with
          [
              _Ty1=TagLib::EBML::Element *,
              _Ty2=TagLib::EBML::ulli
          ]
          C:\Program Files\Microsoft Visual Studio 10.0\VC\include\utility(166) : see declaration of 'std::_Pair_base<_Ty1,_Ty2>::first'
          with
          [
              _Ty1=TagLib::EBML::Element *,
              _Ty2=TagLib::EBML::ulli
          ]

-Enjoy
fh : )_~



More information about the taglib-devel mailing list