opened
tiagoshibata
username_0
**Description**: a file named `cppwinrt.h` was present in cmake\external\wil\include\wil\cppwinrt.h and winml\lib\Common\inc\cppwinrt.h , and the build could fail depending on include path precedence. As a fix, I'm renaming winml\lib\Common\inc\cppwinrt.h.
Rename ambiguous header
issue
created
tiagoshibata
username_0
Also, it's not a matter of simply changing the include directory order in CMake. The order passed to CL.exe is already correct, but the compiler has funny rules for searching for included files:

```
If specified using a #include directive in double-quote form, it first
searches local directories. The search begins in the same directory as
the file that contains the #include statement. If this fails to find
the file, it searches in the directories of the currently opened include
files, in the reverse order in which they were opened. The search begins
in the directory of the parent include file and continues upward through
the directories of any grandparent include files.
```

(From https://docs.microsoft.com/en-us/cpp/build/reference/i-additional-include-directories?view=vs-2019)

I'd rather rename it and be done with it than have to think about the ordering of the currently opened include files 😃
comment