On 12/11/19 12:44 PM, Liu Hao wrote:
在 2019/12/10 19:17, Jacek Caban 写道:
On 12/10/19 12:10 PM, Liu Hao wrote:

You could just use make include/mfidl.h if you use configure with
--with-widl. This uses -DBOOL=WINBOOL when generating headers. IDL files
should use BOOL, not WINBOOL, and leave it for widl to generate correct
headers.


Thanks for the information. `-DBOOL=WINBOOL` makes WIDL compile the IDL
without any modification.

However `make include/mfidl.h` seemed to be stuck with some syntax
errors likes this:
```
crt/ctype.h:108: error: syntax error, unexpected aIDENTIFIER, expecting
tTYPEDEF
make[2]: *** [Makefile:1281: include/docobjectservice.h] Error 1
```


The attached patch should fix it, please review. It shouldn't be needed for include/mfidl.h through...


Jacek

commit 37c5be50b3549ed9695f45b509560b4338b813c2
Author: Jacek Caban <[email protected]>
Date:   Wed Dec 11 12:58:56 2019 +0100

    mshtml.idl: Correctly import dxgitype.idl.

diff --git a/mingw-w64-headers/include/mshtml.idl b/mingw-w64-headers/include/mshtml.idl
index 3394f05d..1090fcba 100644
--- a/mingw-w64-headers/include/mshtml.idl
+++ b/mingw-w64-headers/include/mshtml.idl
@@ -83,7 +83,7 @@ interface IIE80DispatchEx : IDispatchEx {
 library MSHTML {
   importlib ("stdole2.tlb");
   import "ocidl.idl";
-  import "dxgitype.h";
+  import "dxgitype.idl";
 
   interface IDOMEvent;
   interface IElementBehavior;
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to