For some reason, since the latest MSYS2 update on my Windows system, I got compiler errors that g_stat() requires a GStatBuf type as second argument.
On windows there are many MS stat
calls and struct stat
is a structure that changes depending on platform, compiler, target os, wind direction etc and in some cases may not match g_stat
which calls only one of the many MS stat
calls. Perhaps they could have made g_stat()
call the right function for the definition of struct stat
but probably it was easier to define GStatBuf
to match the MS call made by g_stat()
. Maybe which MS call g_stat()
uses changed, it was 32 bit times IIRC and maybe they finally switched to 64 bit ones, so its good the compiler now enforces it.
LGBI
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.