Menu

#187 windows.h #include's virtdisk.h name clash

v1.0 (example)
open
nobody
None
5
2022-08-25
2022-08-25
No

One of the simh project's maintainers decided to use the name CreateVirtualDisk() within the simulated disk code, which causes a name conflict with MinGW-w64's windows.h (but not MS's windows.h.) windows.h #include's virtdisk.h, where there is another declaration of CreateVirtualDisk().

The simh project maintainer insists that MinGW-w64 (and -w32) have to fix windows.h.

(a) What's the impact of removing the virtdisk.h #include from windows.h?
(b) Can virtdisk.h be removed from windows.h?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB