Repository: godot
Issue: [MSVC][/std:c++latest] godot build failed due to error C2666: 'Vector2i::operator !=': 2 overloads have similar conversions
Labels: bug,platform:windows,topic:buildsystem,topic:codestyle

### Godot version

Latest source version from master branch(0d5e13c)

### System information

Windows Server 2016 + latest MSVC

### Issue description

Hello,

The MSVC team recently added godot as part of RWC testing to detect compiler regressions. And we found some errors when building godot with '/std:c++latest'. Can you help confirm if it‘s a issue? This issue can be reproduced on the internal MSVC.

One other request: How can we show the command line information in the build log? I didn't find a useful scons option in https://docs.oracle.com/cd/E88353_01/html/E37839/scons-1.html. I cannot easily reproduce the issue without the compile command, 

### Steps to reproduce

1. open VS2019/VS2022 x64 tools command
2. git clone --recursive https://github.com/godotengine/godot.git godot
3. cd godot
4. **set _CL_=/std:c++latest**
5. python.exe -m pip install scons
6. scons --version
7. scons tools=no target=release

### Minimal reproduction project

**Build.log**: [Godot_build.log](https://github.com/godotengine/godot/files/7386526/Godot_build.log)

**Error info:**
platform\windows\display_server_windows.cpp(770): error C2666: 'Vector2i::operator !=': 2 overloads have similar conversions
F:\gitP\godotengine\godot\core/math/vector2.h(345): note: could be 'bool Vector2i::operator !=(const Vector2i &) const'
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\propkeydef.h(36): note: or       'int operator !=(const PROPERTYKEY &,const PROPERTYKEY &)'
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\guiddef.h(197): note: or       'bool operator !=(const GUID &,const GUID &)'
F:\gitP\godotengine\godot\core/string/string_name.h(180): note: or       'bool operator !=(const char *,const StringName &)'
F:\gitP\godotengine\godot\core/string/string_name.h(178): note: or       'bool operator !=(const String &,const StringName &)'
F:\gitP\godotengine\godot\core/string/ustring.h(464): note: or       'bool operator !=(const wchar_t *,const String &)'
F:\gitP\godotengine\godot\core/string/ustring.h(463): note: or       'bool operator !=(const char *,const String &)'
F:\gitP\godotengine\godot\core/math/vector2.h(344): note: or 'bool Vector2i::operator ==(const Vector2i &) const' [rewritten expression '!(x == y)']
F:\gitP\godotengine\godot\core/math/vector2.h(246): note: or 'bool Vector2::operator ==(const Vector2 &) const' [synthesized expression '!(y == x)']
F:\gitP\godotengine\godot\core/string/ustring.h(461): note: or 'bool operator ==(const char *,const String &)' [rewritten expression '!(x == y)']
F:\gitP\godotengine\godot\core/string/ustring.h(462): note: or 'bool operator ==(const wchar_t *,const String &)' [rewritten expression '!(x == y)']
F:\gitP\godotengine\godot\core/string/string_name.h(177): note: or 'bool operator ==(const String &,const StringName &)' [rewritten expression '!(x == y)']
F:\gitP\godotengine\godot\core/string/string_name.h(179): note: or 'bool operator ==(const char *,const StringName &)' [rewritten expression '!(x == y)']