Re: [Mingw-w64-public] [PATCH] versionhelpers.h: Added IsWindows10OrGreater implementation.

2017-05-08 Thread JonY
On 05/08/2017 07:54 PM, Jacek Caban wrote: > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/include/versionhelpers.h | 8 > 1 file changed, 8 insertions(+) > > Looks good, please apply, thanks. signature.asc Description: OpenPGP digital signature

[Mingw-w64-public] [PATCH] versionhelpers.h: Added IsWindows10OrGreater implementation.

2017-05-08 Thread Jacek Caban
Signed-off-by: Jacek Caban --- mingw-w64-headers/include/versionhelpers.h | 8 1 file changed, 8 insertions(+) diff --git a/mingw-w64-headers/include/versionhelpers.h b/mingw-w64-headers/include/versionhelpers.h index 25ea414..178e788 100644 --- a/mingw-w64-headers/include/versionhelpe

Re: [Mingw-w64-public] How to access _Decimal64 functions in math.h

2017-05-08 Thread sisyphus1
-Original Message- From: JonY Sent: Monday, May 08, 2017 8:47 PM To: mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] How to access _Decimal64 functions in math.h [snip] >> >> All I get is: >> >> C:\Users\sisyphus\AppData\Local\Temp\cc2vb9go.o:d64.c:(.text+0x2e):

Re: [Mingw-w64-public] How to access _Decimal64 functions in math.h

2017-05-08 Thread JonY
On 05/08/2017 09:59 AM, sisyph...@optusnet.com.au wrote: > Hi, > > math.h prototypes a number of _Decimal32, _Decimal64 and_Decimal128 > functions - eg: > > _Decimal64 __cdecl expd64(_Decimal64 _X); > > But when I try to compile (gcc -o d64.exe d64.c): > > /***/ > /

Re: [Mingw-w64-public] [PATCH] winpthreads/src/dll_math.c: Implement `__divmoddi4()' for GCC 7.

2017-05-08 Thread Kai Tietz
ok, please apply. Thanks, Kai 2017-05-08 12:19 GMT+02:00 Liu Hao : > On 2017/5/3 15:35, Christer Solskogen wrote: >> >> I'm having a hard time (cross) compiling winpthreads (from 5.x branch) >> with gcc 7.1. >> (... abridgement ...) >> src/.libs/libwinpthread_la-clock.o:clock.c:(.text+0x270): und

[Mingw-w64-public] [PATCH] winpthreads/src/dll_math.c: Implement `__divmoddi4()' for GCC 7.

2017-05-08 Thread Liu Hao
On 2017/5/3 15:35, Christer Solskogen wrote: I'm having a hard time (cross) compiling winpthreads (from 5.x branch) with gcc 7.1. (... abridgement ...) src/.libs/libwinpthread_la-clock.o:clock.c:(.text+0x270): undefined reference to `__divmoddi4' Here is the 'real' fix for it. Please review. (I

[Mingw-w64-public] How to access _Decimal64 functions in math.h

2017-05-08 Thread sisyphus1
Hi, math.h prototypes a number of _Decimal32, _Decimal64 and_Decimal128 functions - eg: _Decimal64 __cdecl expd64(_Decimal64 _X); But when I try to compile (gcc -o d64.exe d64.c): /***/ /* d64.c */ #include int main(void) { _Decimal64 x = 2.3DD, ret; ret = expd6