<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 187: windows.h #include's virtdisk.h name clash</title><link href="https://sourceforge.net/p/mingw-w64/support-requests/187/" rel="alternate"/><link href="https://sourceforge.net/p/mingw-w64/support-requests/187/feed.atom" rel="self"/><id>https://sourceforge.net/p/mingw-w64/support-requests/187/</id><updated>2022-08-25T01:46:56.486000Z</updated><subtitle>Recent changes to 187: windows.h #include's virtdisk.h name clash</subtitle><entry><title>windows.h #include's virtdisk.h name clash</title><link href="https://sourceforge.net/p/mingw-w64/support-requests/187/" rel="alternate"/><published>2022-08-25T01:46:56.486000Z</published><updated>2022-08-25T01:46:56.486000Z</updated><author><name>Scott Michel</name><uri>https://sourceforge.net/u/pingbak/</uri></author><id>https://sourceforge.net40c905a29bce608e890930752c0cc1c93a2387dc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;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().&lt;/p&gt;
&lt;p&gt;The simh project maintainer insists that MinGW-w64 (and -w32) have to fix windows.h.&lt;/p&gt;
&lt;p&gt;(a) What's the impact of removing the virtdisk.h #include from windows.h?&lt;br/&gt;
(b) Can virtdisk.h be removed from windows.h?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>