You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mkdir F:\gitP\mavlink\qgroundcontrol\build_amd64 and cd F:\gitP\mavlink\qgroundcontrol\build_amd64
set related Path (in my test environment like below):
8.1 set PATH=F:\tools\qt5\qt\5_15_2\msvc2019_64\bin;F:\tools\jom_1_1_2;%PATH%
qmake -r ../qgroundcontrol.pro
set CL=%CL% /wd5055 /D_HAS_DEPRECATED_RESULT_OF=1 /D_SILENCE_CXX17_RESULT_OF_DEPRECATION_WARNING
jom /U
System Information
When posting bug reports, include the following information
Operating System: Windows Server 2022 Datacenter 21H2
VS version: VS2019 16.11.20
Detailed Description
Recently, we updated the commit of Qgroundcontrol for MSVC RWC testing, it built failed due to error C2666 with compile option /c++latest like below: F:\gitP\mavlink\qgroundcontrol\libs\libevents\libevents\libs\cpp\parse\parser.cpp(634): error C2666: 'nlohmann::detail::iter_impl<const nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::adl_serializer,std::vector<uint8_t,std::allocator<uint8_t>>>>::operator !=': overloaded functions have similar conversions
Expected Behavior
Build with msvc successfully.
Current Behavior
F:\gitP\mavlink\qgroundcontrol\libs\libevents\libevents\libs\cpp\parse\parser.cpp(634): error C2666: 'nlohmann::detail::iter_impl<const nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::adl_serializer,std::vector<uint8_t,std::allocator<uint8_t>>>>::operator !=': overloaded functions have similar conversions
Steps to Reproduce:
Please provide an unambiguous set of steps to reproduce the current behavior
8.1 set PATH=F:\tools\qt5\qt\5_15_2\msvc2019_64\bin;F:\tools\jom_1_1_2;%PATH%
System Information
When posting bug reports, include the following information
Detailed Description
Recently, we updated the commit of Qgroundcontrol for MSVC RWC testing, it built failed due to error C2666 with compile option /c++latest like below:
F:\gitP\mavlink\qgroundcontrol\libs\libevents\libevents\libs\cpp\parse\parser.cpp(634): error C2666: 'nlohmann::detail::iter_impl<const nlohmann::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::adl_serializer,std::vector<uint8_t,std::allocator<uint8_t>>>>::operator !=': overloaded functions have similar conversions
Log Files and Screenshots
detailed log files:
build (3).log
The text was updated successfully, but these errors were encountered: