[Mingw-w64-public] [PATCH] Fix compiler errors in shobjidl.h when NOGDI is defined

2021-05-30 Thread Orgad Shaneh
Signed-off-by: Orgad Shaneh --- mingw-w64-headers/include/shobjidl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-headers/include/shobjidl.h b/mingw-w64-headers/include/shobjidl.h index bd1633ae..33b77648 100644 --- a/mingw-w64-headers/include/shobjidl.h +++ b/min

[Mingw-w64-public] [PATCH] Fix compiler errors in shobjidl.h when NOGDI is defined

2021-05-24 Thread Orgad Shaneh
Fixes the following errors: $ echo '#include ' | gcc -xc -c -DNOGDI - In file included from :1: C:/msys32/mingw32/i686-w64-mingw32/include/shobjidl.h:7170:15: error: unknown type name 'LOGFONTW' 7170 | const LOGFONTW *plf); | ^~~~ C:/msys32/mingw32/i686-w64-mingw32

Re: [Mingw-w64-public] [PATCH] Fix compiler errors in shobjidl.h when NOGDI is defined

2021-05-24 Thread Zach Bacon
Should only include the idl file, because once the headers package is generated through autoconf, it runs widl to generate the headers from idl files On Mon., May 24, 2021, 11:04 a.m. Orgad Shaneh, wrote: > On Mon, May 24, 2021 at 5:58 PM Orgad Shaneh wrote: > > > > On Mon, May 24, 2021 at 4:40

[Mingw-w64-public] [PATCH] Fix compiler errors in shobjidl.h when NOGDI is defined

2021-05-24 Thread Orgad Shaneh
Fixes the following errors: $ echo '#include ' | gcc -xc -c -DNOGDI - In file included from :1: C:/msys32/mingw32/i686-w64-mingw32/include/shobjidl.h:7170:15: error: unknown type name 'LOGFONTW' 7170 | const LOGFONTW *plf); | ^~~~ C:/msys32/mingw32/i686-w64-mingw32

Re: [Mingw-w64-public] [PATCH] Fix compiler errors in shobjidl.h when NOGDI is defined

2021-05-24 Thread Orgad Shaneh
On Mon, May 24, 2021 at 5:58 PM Orgad Shaneh wrote: > > On Mon, May 24, 2021 at 4:40 PM Liu Hao wrote: > > > > 0. 'shobjidl.h' is generated from 'shobjidl.idl' with > > > > widl -DBOOL=WINBOOL -h -o include/shobjidl.{h,idl} > > > > so please submit patches against the IDL file instead.

Re: [Mingw-w64-public] [PATCH] Fix compiler errors in shobjidl.h when NOGDI is defined

2021-05-24 Thread Liu Hao
在 2021-05-24 18:01, Orgad Shaneh 写道: Signed-off-by: Orgad Shaneh --- mingw-w64-headers/include/shobjidl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 0. 'shobjidl.h' is generated from 'shobjidl.idl' with widl -DBOOL=WINBOOL -h -o include/shobjidl.{h,idl} so please subm

[Mingw-w64-public] [PATCH] Fix compiler errors in shobjidl.h when NOGDI is defined

2021-05-24 Thread Orgad Shaneh
Signed-off-by: Orgad Shaneh --- mingw-w64-headers/include/shobjidl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-headers/include/shobjidl.h b/mingw-w64-headers/include/shobjidl.h index bd1633ae..33b77648 100644 --- a/mingw-w64-headers/include/shobjidl.h +++ b/min

[Mingw-w64-public] [PATCH] Fix compiler errors in shobjidl.h when NOGDI is defined

2021-05-24 Thread Orgad Shaneh
Signed-off-by: Orgad Shaneh --- mingw-w64-headers/include/shobjidl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-headers/include/shobjidl.h b/mingw-w64-headers/include/shobjidl.h index bd1633ae..33b77648 100644 --- a/mingw-w64-headers/include/shobjidl.h +++ b/min