Bug 24195 – DMD defaults Winver to Windows XP

Status
NEW
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2023-10-23T14:18:41Z
Last change time
2024-12-13T19:31:15Z
Assigned to
No Owner
Creator
Grim Maple
Moved to GitHub: dmd#20343 →

Comments

Comment #0 by grimmaple95 — 2023-10-23T14:18:41Z
Provided no other stuff is fed to the compiler, it will default the `_WIN32_WINNT` constant to `0x501`, which is Windows XP. This leaves a lot of modern features out, so it should probably be updated to something reasonably modern (eg Windows 8, as Windows 7 is old enough to be officially not supported) Also, there is no reasonbale hint to why stuff is missing, and the windows versions are not (or poorly) documented.
Comment #1 by robert.schadek — 2024-12-13T19:31:15Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20343 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB