Re: [Mingw-w64-public] [PATCH] headers: add missing _W_* lconv struct members

2020-12-23 Thread Liu Hao
在 2020/12/24 上午11:02, Liu Hao 写道: > > I attached a small test program for this. > > Here it is. Please remove all `.txt` suffixes from file names. -- Best regards, LH_Mouse #!/bin/sh windres lconv.rc -o lconv.rc.o x86_64-w64-mingw32-gcc -std=c99 lconv.c lconv.rc.o -lmsvcr90 #define __USE_MI

Re: [Mingw-w64-public] [PATCH] headers: add missing _W_* lconv struct members

2020-12-23 Thread Liu Hao
在 2020/12/24 上午1:07, Christoph Reiter 写道: > On Wed, Dec 23, 2020 at 6:35 AM Liu Hao wrote: >> These fields seem to have been added since MSVCR100, so please add a >> necessary check for >> `__MSVCRT_VERSION__`. >> >> This also means that CPython has to define `__MSVCRT_VERSION__` in order to >>

Re: [Mingw-w64-public] [PATCH] headers: add missing _W_* lconv struct members

2020-12-23 Thread Christoph Reiter
On Wed, Dec 23, 2020 at 6:35 AM Liu Hao wrote: > These fields seem to have been added since MSVCR100, so please add a > necessary check for > `__MSVCRT_VERSION__`. > > This also means that CPython has to define `__MSVCRT_VERSION__` in order to > use them. Hm, I see. The fields seem to work fine

Re: [Mingw-w64-public] [PATCH] headers: Move some interfaces declaration to axextend.idl from strmif.idl.

2020-12-23 Thread Liu Hao
在 2020/12/23 22:17, Biswapriyo Nath 写道: >> $ widl -DBOOL=WINBOOL -h -o axextend.{h,idl} >> axextend.idl:79: error: syntax error, unexpected aIDENTIFIER > > axextend.idl is not meant to be generated. axextend.idl is included in > stmif.idl and strmif.idl has to be generated. > > Ah thanks for th

Re: [Mingw-w64-public] [PATCH] headers: Move some interfaces declaration to axextend.idl from strmif.idl.

2020-12-23 Thread Biswapriyo Nath
> $ widl -DBOOL=WINBOOL -h -o axextend.{h,idl} > axextend.idl:79: error: syntax error, unexpected aIDENTIFIER axextend.idl is not meant to be generated. axextend.idl is included in stmif.idl and strmif.idl has to be generated. ___ Mingw-w64-public mail

Re: [Mingw-w64-public] [PATCH] headers: Move some interfaces declaration to axextend.idl from strmif.idl.

2020-12-23 Thread Liu Hao
在 2020/12/23 0:15, Biswapriyo Nath 写道: > Subject: [PATCH] headers: Move some interfaces declaration to axextend.idl > from strmif.idl. > > This helps to generate proper header files instead of using manual cpp_quote. > > Signed-off-by: Biswapriyo Nath > --- > mingw-w64-headers/include/axextend