Welcome, Guest.
Username: Password: Remember me

TOPIC: Massive errors attempting to build reshade.

Massive errors attempting to build reshade. 4 months 2 days ago #1

Severity Code Description Project File Line Suppression State
Error C4996 'std::filesystem::u8path': warning STL4021: The std::filesystem::u8path() overloads are deprecated in C++20. The constructors of std::filesystem::path provide equivalent functionality via construction from u8string, u8string_view, or iterators with value_type char8_t.You can define _SILENCE_CXX20_U8PATH_DEPRECATION_WARNING or _SILENCE_ALL_CXX20_DEPRECATION_WARNINGS to acknowledge that you have received this warning. ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 762
Error C2664 'void reshadefx::preprocessor::push(std::string,const std::string &)': cannot convert argument 2 from 'std::basic_string<char8_t,std::char_traits<char8_t>,std::allocator<char8_t>>' to 'const std::string &' ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 76
Message Reason: cannot convert from 'std::basic_string<char8_t,std::char_traits<char8_t>,std::allocator<char8_t>>' to 'const std::string' ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 76
Message No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 76
Error C2664 'std::_List_const_iterator<std::_List_val<std::_List_simple_types<_Ty>>> std::_Hash<std::_Umap_traits<_Kty,std::basic_string<char,std::char_traits<char>,std::allocator<char>>,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false>>::find(const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &) const': cannot convert argument 1 from 'std::basic_string<char8_t,std::char_traits<char8_t>,std::allocator<char8_t>>' to 'const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &'
with
[
_Ty=std::pair<const std::string,std::string>,
_Kty=std::string,
_Hasher=std::hash<std::string>,
_Keyeq=std::equal_to<std::string>,
_Alloc=std::allocator<std::pair<const std::string,std::string>>
] ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 547
Message Reason: cannot convert from 'std::basic_string<char8_t,std::char_traits<char8_t>,std::allocator<char8_t>>' to 'const std::basic_string<char,std::char_traits<char>,std::allocator<char>>' ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 547
Message No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 547
Error C3536 'it': cannot be used before it is initialized ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 549
Error C2678 binary '==': no operator found which takes a left-hand operand of type 'std::_List_iterator<std::_List_val<std::_List_simple_types<_Ty>>>' (or there is no acceptable conversion)
with
[
_Ty=std::pair<const std::string,std::string>
] ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 549
Message could be 'bool std::operator ==(const std::exception_ptr &,const std::exception_ptr &) noexcept' [found using argument-dependent lookup] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\exception 281
Message or 'bool std::operator ==(std::nullptr_t,const std::exception_ptr &) noexcept' [found using argument-dependent lookup] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\exception 285
Message or 'bool std::operator ==(const std::exception_ptr &,std::nullptr_t) noexcept' [found using argument-dependent lookup] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\exception 289
Message or 'bool std::operator ==(const std::error_code &,const std::error_code &) noexcept' [found using argument-dependent lookup] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\system_error 216
Message or 'bool std::operator ==(const std::error_code &,const std::error_condition &) noexcept' [found using argument-dependent lookup] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\system_error 221
Message or 'bool std::operator ==(const std::error_condition &,const std::error_code &) noexcept' [found using argument-dependent lookup] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\system_error 226
Message or 'bool std::operator ==(const std::error_condition &,const std::error_condition &) noexcept' [found using argument-dependent lookup] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\system_error 231
Message or 'bool std::_List_const_iterator<std::_List_val<std::_List_simple_types<_Ty>>>::operator ==(const std::_List_const_iterator<std::_List_val<std::_List_simple_types<_Ty>>> &) const' [synthesized expression 'y == x']
with
[
_Ty=std::pair<const std::string,std::string>
] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\list 203
Message or 'bool std::operator ==(const std::exception_ptr &,const std::exception_ptr &) noexcept' [synthesized expression 'y == x'] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\exception 281
Message or 'bool std::operator ==(std::nullptr_t,const std::exception_ptr &) noexcept' [synthesized expression 'y == x'] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\exception 285
Message or 'bool std::operator ==(const std::exception_ptr &,std::nullptr_t) noexcept' [synthesized expression 'y == x'] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\exception 289
Message or 'bool std::operator ==(const std::error_code &,const std::error_code &) noexcept' [synthesized expression 'y == x'] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\system_error 216
Message or 'bool std::operator ==(const std::error_code &,const std::error_condition &) noexcept' [synthesized expression 'y == x'] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\system_error 221
Message or 'bool std::operator ==(const std::error_condition &,const std::error_code &) noexcept' [synthesized expression 'y == x'] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\system_error 226
Message or 'bool std::operator ==(const std::error_condition &,const std::error_condition &) noexcept' [synthesized expression 'y == x'] ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\system_error 231
Message while trying to match the argument list '(int, std::_List_iterator<std::_List_val<std::_List_simple_types<_Ty>>>)'
with
[
_Ty=std::pair<const std::string,std::string>
] ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 549
Error C2677 binary '+': no global operator found which takes type 'std::basic_string<char8_t,std::char_traits<char8_t>,std::allocator<char8_t>>' (or there is no acceptable conversion) ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 554
Error C2660 'reshadefx::preprocessor::error': function does not take 1 arguments ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 554
Message see declaration of 'reshadefx::preprocessor::error' ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 93
Error C2440 '=': cannot convert from '_Ty1' to 'int'
with
[
_Ty1=std::_List_iterator<std::_List_val<std::_List_simple_types<std::pair<const std::string,std::string>>>>
] ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 559
Message No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 559
Error C4996 'std::filesystem::u8path': warning STL4021: The std::filesystem::u8path() overloads are deprecated in C++20. The constructors of std::filesystem::path provide equivalent functionality via construction from u8string, u8string_view, or iterators with value_type char8_t.You can define _SILENCE_CXX20_U8PATH_DEPRECATION_WARNING or _SILENCE_ALL_CXX20_DEPRECATION_WARNINGS to acknowledge that you have received this warning. ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 536
Message see declaration of 'std::filesystem::u8path' ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\filesystem 1410
Error C4996 'std::filesystem::u8path': warning STL4021: The std::filesystem::u8path() overloads are deprecated in C++20. The constructors of std::filesystem::path provide equivalent functionality via construction from u8string, u8string_view, or iterators with value_type char8_t.You can define _SILENCE_CXX20_U8PATH_DEPRECATION_WARNING or _SILENCE_ALL_CXX20_DEPRECATION_WARNINGS to acknowledge that you have received this warning. ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 539
Message see declaration of 'std::filesystem::u8path' ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\filesystem 1410
Error C4996 'std::filesystem::u8path': warning STL4021: The std::filesystem::u8path() overloads are deprecated in C++20. The constructors of std::filesystem::path provide equivalent functionality via construction from u8string, u8string_view, or iterators with value_type char8_t.You can define _SILENCE_CXX20_U8PATH_DEPRECATION_WARNING or _SILENCE_ALL_CXX20_DEPRECATION_WARNINGS to acknowledge that you have received this warning. ReShade FX C:\Users\Joseph\source\repos\reshade\source\effect_preprocessor.cpp 756
Message see declaration of 'std::filesystem::u8path' ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\filesystem 1410
Message see declaration of 'std::filesystem::u8path' ReShade FX C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\filesystem 1410
Error LNK1104 cannot open file 'C:\Users\Joseph\source\repos\reshade\bin\x64\Debug\ReShadeFX64.lib' ReShade FXC C:\Users\Joseph\source\repos\reshade\LINK 1
Error C2677 binary '+': no global operator found which takes type 'std::basic_string<char8_t,std::char_traits<char8_t>,std::allocator<char8_t>>' (or there is no acceptable conversion) ReShade C:\Users\Joseph\source\repos\reshade\source\log.hpp 59
Error C2677 binary '+': no global operator found which takes type 'std::basic_string<char8_t,std::char_traits<char8_t>,std::allocator<char8_t>>' (or there is no acceptable conversion) ReShade C:\Users\Joseph\source\repos\reshade\source\log.hpp 59
Error C2677 binary '+': no global operator found which takes type 'std::basic_string<char8_t,std::char_traits<char8_t>,std::allocator<char8_t>>' (or there is no acceptable conversion) ReShade C:\Users\Joseph\source\repos\reshade\source\log.hpp 59
Error C2664 'void reshade::ini_file::set<std::string>(const std::string &,const std::string &,const std::vector<std::string,std::allocator<_Ty>> &)': cannot convert argument 3 from 'std::basic_string<char8_t,std::char_traits<char8_t>,std::allocator<char8_t>>' to 'const std::string &'
with
[
_Ty=std::string
] ReShade C:\Users\Joseph\source\repos\reshade\source\ini_file.hpp 90
Message Reason: cannot convert from 'std::basic_string<char8_t,std::char_traits<char8_t>,std::allocator<char8_t>>' to 'const std::string' ReShade C:\Users\Joseph\source\repos\reshade\source\ini_file.hpp 90
Message No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called ReShade C:\Users\Joseph\source\repos\reshade\source\ini_file.hpp 90
Error C2679 binary '=': no operator found which takes a right-hand operand of type 'std::basic_string<char8_t,std::char_traits<char8_t>,std::allocator<char8_t>>' (or there is no acceptable conversion) ReShade C:\Users\Joseph\source\repos\reshade\source\ini_file.hpp 123
Message could be 'std::basic_string<char,std::char_traits<char>,std::allocator<char>> &std::basic_string<char,std::char_traits<char>,std::allocator<char>>::operator =(const _Elem)'
with
[
_Elem=char
] ReShade C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\xstring 2667
Message or 'std::basic_string<char,std::char_traits<char>,std::allocator<char>> &std::basic_string<char,std::char_traits<char>,std::allocator<char>>::operator =(const _Elem *const )'
with
[
_Elem=char
] ReShade C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\xstring 2663
Message or 'std::basic_string<char,std::char_traits<char>,std::allocator<char>> &std::basic_string<char,std::char_traits<char>,std::allocator<char>>::operator =(const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &)' ReShade C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\xstring 2648
Message or 'std::basic_string<char,std::char_traits<char>,std::allocator<char>> &std::basic_string<char,std::char_traits<char>,std::allocator<char>>::operator =(std::initializer_list<_Elem>)'
with
[
_Elem=char
] ReShade C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\xstring 2554
Message or 'std::basic_string<char,std::char_traits<char>,std::allocator<char>> &std::basic_string<char,std::char_traits<char>,std::allocator<char>>::operator =(std::basic_string<char,std::char_traits<char>,std::allocator<char>> &&) noexcept(<expr>)' ReShade C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\xstring 2453
Message while trying to match the argument list '(_Ty, std::basic_string<char8_t,std::char_traits<char8_t>,std::allocator<char8_t>>)'
with
[
_Ty=std::string
] ReShade C:\Users\Joseph\source\repos\reshade\source\ini_file.hpp 123
Error C4996 'std::filesystem::u8path': warning STL4021: The std::filesystem::u8path() overloads are deprecated in C++20. The constructors of std::filesystem::path provide equivalent functionality via construction from u8string, u8string_view, or iterators with value_type char8_t.You can define _SILENCE_CXX20_U8PATH_DEPRECATION_WARNING or _SILENCE_ALL_CXX20_DEPRECATION_WARNINGS to acknowledge that you have received this warning. ReShade C:\Users\Joseph\source\repos\reshade\source\ini_file.hpp 186
Message see declaration of 'std::filesystem::u8path' ReShade C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.22.27812\include\filesystem 1410
Error C2677 binary '+': no global operator found which takes type 'std::basic_string<char8_t,std::char_traits<char8_t>,std::allocator<char8_t>>' (or there is no acceptable conversion) ReShade C:\Users\Joseph\source\repos\reshade\source\log.hpp 59
The administrator has disabled public write access.