taglib fails to compile with MS VC++ 2010
Ed Musgrove
edgarmusgrove at yahoo.com
Fri Jul 16 17:26:45 CEST 2010
Any chance I can get some help on this? I am trying to get Audacity to build
with (the more strict than VC++ 2008) VC++ 2010...
------ Build started: Project: taglib, Configuration: Unicode Debug Win32 ------
apefooter.cpp
d:\audio\audacity\svn\lib-src\taglib\taglib\ape\apefooter.cpp(192): error C2668:
'std::bitset<_Bits>::bitset' : ambiguous call to overloaded function
with
[
_Bits=32
]
c:\program files (x86)\microsoft visual studio
10.0\vc\include\bitset(136): could be 'std::bitset<_Bits>::bitset(_ULonglong)'
with
[
_Bits=32
]
c:\program files (x86)\microsoft visual studio
10.0\vc\include\bitset(127): or 'std::bitset<_Bits>::bitset(int)'
with
[
_Bits=32
]
while trying to match the argument list '(TagLib::uint)'
mpcproperties.cpp
d:\audio\audacity\svn\lib-src\taglib\taglib\toolkit\tfile.h(48): warning C4251:
'TagLib::FileName::m_name' : class 'std::basic_string<_Elem,_Traits,_Ax>' needs
to have dll-interface to be used by clients of class 'TagLib::FileName'
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
d:\audio\audacity\svn\lib-src\taglib\taglib\toolkit\tfile.h(49): warning C4251:
'TagLib::FileName::m_wname' : class 'std::basic_string<_Elem,_Traits,_Ax>' needs
to have dll-interface to be used by clients of class 'TagLib::FileName'
with
[
_Elem=wchar_t,
_Traits=std::char_traits<wchar_t>,
_Ax=std::allocator<wchar_t>
]
d:\audio\audacity\svn\lib-src\taglib\taglib\mpc\mpcproperties.cpp(116): error
C2440: 'initializing' : cannot convert from 'TagLib::uint' to
'std::bitset<_Bits>'
with
[
_Bits=32
]
No constructor could take the source type, or constructor overload
resolution was ambiguous
mpegheader.cpp
d:\audio\audacity\svn\lib-src\taglib\taglib\mpeg\mpegheader.cpp(171): error
C2668: 'std::bitset<_Bits>::bitset' : ambiguous call to overloaded function
with
[
_Bits=32
]
c:\program files (x86)\microsoft visual studio
10.0\vc\include\bitset(136): could be 'std::bitset<_Bits>::bitset(_ULonglong)'
with
[
_Bits=32
]
c:\program files (x86)\microsoft visual studio
10.0\vc\include\bitset(127): or 'std::bitset<_Bits>::bitset(int)'
with
[
_Bits=32
]
while trying to match the argument list '(TagLib::uint)' -Ed Musgrove
More information about the taglib-devel
mailing list