In file included from C:\mingw64\x86_64-w64-mingw32\include\wtypes.h:8:
C:\mingw64\x86_64-w64-mingw32\include\rpcndr.h:397:170: error: reference to 'byte' is ambiguous
typedef void (__RPC_API *CS_TYPE_TO_NETCS_ROUTINE)(RPC_BINDING_HANDLE hBinding,unsigned __LONG32 ulNetworkCodeSet,void *pLocalData,unsigned __LONG32 ulLocalDataLength,byte *pNetworkData,unsigned __LONG32 *pulNetworkDataLength,error_status_t *pStatus);
^
C:\mingw64\x86_64-w64-mingw32\include\rpcndr.h:63:25: note: candidate found by name lookup is 'byte'
typedef unsigned char byte;
^
[ 46%] Building C object zlib-1.2.7/CMakeFiles/zlibstatic.dir/compress.obj
C:\mingw64\lib\gcc\x86_64-w64-mingw32\12.2.0\include\c++\cstddef:69:14: note: candidate found by name lookup is 'std::byte'
enum class byte : unsigned char {};
^
See https://github.com/iqtree/iqtree2/actions/runs/10225250464/job/28294038286
Example error: