Not sure if this specific to llvm-mingw as I don't use MSVC. It used to work fine with this compiler before. Note that I haven't built godot in a while(about 2k commits ago). Tried clean build but it didn't help.
This is because far is a macro in some Windows environments, it's been a serious issue across versions in the past and was fixed, but seems the general improvement wasn't complete, I'll write up a quick fix
Tested versions
System information
Godot master (1bd740d18d714f815486b04bf4c6154ef6c355d9) - Windows 10.0.22631 - Vulkan (Forward+) - dedicated Radeon RX 570 Series (Advanced Micro Devices, Inc.; 31.0.21916.2) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)
Issue description
It fails with following when trying to build godot with
llvm-mingw
:Not sure if this specific to llvm-mingw as I don't use MSVC. It used to work fine with this compiler before. Note that I haven't built godot in a while(about 2k commits ago). Tried clean build but it didn't help.
Update: The change between 4.3 and master for that file seems to be from https://github.com/godotengine/godot/pull/90690 .
Steps to reproduce
master
branch.scons dev_build=yes use_mingw=yes
in godot folder.Minimal reproduction project (MRP)
NA