Replies: 3 comments
-
Or in V, we can support different OS version like this : $if windows >= 0x0600 {
...
final_len := C.GetFinalPathNameByHandleW(file, pu16_fullpath, max_path_buffer_size, 0)
....
} $else {
...
}
|
Beta Was this translation helpful? Give feedback.
-
Minimum that might work, or minimum regularly tested? 32-bit Windows (well, 32-bit any OS) is rarely tested at all. The minimum that is regularly tested (as it is what is used in the V CI) is Windows 2019, 64-bit version only. Anything older than that... or any 32-bit version at all... if it works, great, but nobody is spending any time making sure V works there, 32-bit or 64-bit. |
Beta Was this translation helpful? Give feedback.
-
Works great on windows xp: https://x.com/v_language/status/1841848443175632926 (untested of course) |
Beta Was this translation helpful? Give feedback.
-
Short question:
Which is minimum supported Windows version?
Detail information:
I checked the file
thirdparty\tcc\include\_mingw.h
, it said :as https://learn.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-170 said:
So I suppose that
tcc
support Windows Server 2003 at default.But when I use a self-compiled
tcc
trying to compile the V self, it will fail with error:I found that the header file
thirdparty\tcc\include\winapi\fileapi.h
said:GetFinalPathNameByHandleW
is really afterWindows Vista
API.So I think the minimum supported Windows version is
Windows Vista
, am I right?BTW,
GetFinalPathNameByHandleW
is used byvlib/os/os.c.v
Beta Was this translation helpful? Give feedback.
All reactions