On Wed, Nov 4, 2020 at 8:08 PM Jacek Caban <ja...@codeweavers.com> wrote:
>
> On 04/11/2020 10:31, Biswapriyo Nath wrote:
>
> > I would like to avoid the manual editing of d2d1 header files. I tried
> > to import d2d1.idl and d2d1_1.idl from wine. widl produces the
> > corresponding headers file without any errors. But while compiling
> > crt, it conflicts with `namespace D2D1` in d2d1helper.h as it is in
> > C++ realm. One thing can be done but I am not sure about it:
> > 0. Sync mingw-w64's d2d1_1.h with wine's d2d1_1.idl.
> > 1. Import d2d1.idl and d2d1_1.idl from wine.
> > 2. Generate header for d2d1_1.idl but NOT for d2d1.h.
> > 3. Fix necessary changes in mingw-w64's d2d1.h manually.
>
>
> There are multiple problems with C++ constructs used in d2d1.h that are
> not possible in IDL files and we'd need solutions to those first. I'm
> not convinced if it's the right thing to do for that particular header.
>
>
> For the time being, I'd suggest to extend the existing header.

i can add what is missing part by part in d2d1.h. What is the standard
procedure ? if there is a github mirror and if PR are a possible way
to provide patches, i can do that

regards

Vincent Torri


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

Reply via email to