Skip to content

build fails with vs 19 #3

@tangorn

Description

@tangorn
1>F:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\list(1583,1): error C2678: binary '==': no operator found which takes a left-hand operand of type 'const _Ty' (or there is no acceptable conversion)
1>        with
1>        [
1>            _Ty=ScaleformVR::ScaleformCallback
1>        ]
1>F:\Projects\SkyrimVRTools\src\ScaleformVR.cpp(44,8): message : could be 'bool ScaleformVR::ScaleformCallback::operator ==(const ScaleformVR::ScaleformCallback &)'
1>F:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\list(1583,1): message : while trying to match the argument list '(const _Ty, const _Ty)'
1>        with
1>        [
1>            _Ty=ScaleformVR::ScaleformCallback
1>        ]
1>F:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\list(1582): message : while compiling class template member function 'auto std::list<ScaleformVR::ScaleformCallback,std::allocator<ScaleformVR::ScaleformCallback>>::remove(const _Ty &)'
1>        with
1>        [
1>            _Ty=ScaleformVR::ScaleformCallback
1>        ]
1>F:\Projects\SkyrimVRTools\src\ScaleformVR.cpp(51): message : see reference to class template instantiation 'std::list<ScaleformVR::ScaleformCallback,std::allocator<ScaleformVR::ScaleformCallback>>' being compiled
1>F:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\list(1594,1): error C2451: conditional expression of type 'void' is illegal
1>F:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\list(1594,22): message : Expressions of type void cannot be converted to other types
1>F:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\list(1583): message : see reference to function template instantiation 'auto std::list<ScaleformVR::ScaleformCallback,std::allocator<ScaleformVR::ScaleformCallback>>::remove_if<std::list<ScaleformVR::ScaleformCallback,std::allocator<ScaleformVR::ScaleformCallback>>::remove::<lambda_bdae7e4de864a523027aa8840fb19c55>>(_Pr1)' being compiled
1>        with
1>        [
1>            _Pr1=std::list<ScaleformVR::ScaleformCallback,std::allocator<ScaleformVR::ScaleformCallback>>::remove::<lambda_bdae7e4de864a523027aa8840fb19c55>
1>        ]
1>Done building project "SkyrimVRTools.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions