On 9/4/21 5:50 AM, LIU Hao wrote:
在 9/4/21 1:18 PM, Jonathan Marler 写道:
I could but this project builds with MSVC and I noticed that the MSVC
headers are using the same include style for these 2 particular files.
Note that we only need to change these 2 lines, to fix this. What reason
is there not to change these 2 lines to fix this issue? If you google it
there appears to be many projects with a header file named "rpc.h".
My personal guidance for common projects is that, if header X and header
Y are maintained by the same people and their relative path does not
seem to vary, then "" should be preferred to <>, so this relationship is
maintained when the header directory tree is copied (recursively)
elsewhere.
But in mingw-w64, all headers are system headers, so probably this
doesn't apply any more. I suggest that we maintain the same scheme with
Windows SDK headers, which is "" here. Many headers (such as windows.h)
include others with <>, so Microsoft's choice for OLE headers might
imply there had been some issues with <>.
Thoughts?
I am OK with updating them to use double quotes but have no strong
preference anyway since it has been using angular brackets for a long time.
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public