Been another 4 days, anyone able to bring this patch in or review?

On Mon, Aug 30, 2021 at 3:36 PM Jonathan Marler <johnnymar...@gmail.com>
wrote:

> Ping.  The issue that this fixes is easy to reproduce.  Just try to
> compile any project with the mingw headers and add a file named "rpc.h" to
> one of your local include directories and you'll get a bunch of errors
> related to missing definitions.  The 2-line patch attached to my previous
> message should fix it.
>
> On Wed, Aug 25, 2021 at 10:42 AM Jonathan Marler <johnnymar...@gmail.com>
> wrote:
>
>> This replaces the include style for rpc.h and rpcndr.h inside the
>> wtypes.h header. I found this issue when trying to compile my WindowsNfs
>> project found here: https://github.com/marler8997/WindowsNfs.  This
>> project contains a file named "Rpc.h".  This broke the mingw header files
>> because wtypes.h ends up including my file instead of the one in the
>> toolchain.  I also verified that if I had a file named rpcndr.h in my
>> project then the same issue occurred.  By changing these 2 lines to use
>> #include "...", projects can have files named rpc.h and rpcndr.h and
>> include <windows.h> without breaking the headers.
>>
>

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to