[Live-devel] VS2022 compilation issue
Dmitry Bely
d.bely at recognize.ru
Thu Nov 30 00:10:57 PST 2023
Hi,
int operator==(TimeCode const& arg2);
in liveMedia/include/MPEGVideoStreamFramer.hh needs const qualifier.
Without it VS2022 compilation fails:
C:\Users\ContainerAdministrator\.conan2\p\b\live5372ee00a453a7\b\src\liveMedia\MPEGVideoStreamFramer.cpp(132,14):
error C2666: 'TimeCode::operator ==': overloaded functions have
similar conversions
[C:\Users\ContainerAdministrator\.conan2\p\b\live5372ee00a453a7\b\build\live555.vcxproj]
C:\Users\ContainerAdministrator\.conan2\p\b\live5372ee00a453a7\b\src\liveMedia\MPEGVideoStreamFramer.cpp(34,15):
could be 'int TimeCode::operator ==(const TimeCode &)'
C:\Users\ContainerAdministrator\.conan2\p\b\live5372ee00a453a7\b\src\liveMedia\MPEGVideoStreamFramer.cpp(34,15):
or 'int TimeCode::operator ==(const TimeCode &)' [synthesized
expression 'y == x']
C:\Users\ContainerAdministrator\.conan2\p\b\live5372ee00a453a7\b\src\liveMedia\MPEGVideoStreamFramer.cpp(132,14):
while trying to match the argument list '(TimeCode, TimeCode)'
- Dmitry Bely
More information about the live-devel
mailing list