Re: [Mingw-w64-public] [PATCH] Remove ARM softfloat math function implementations

2016-09-28 Thread Martin Storsjö
On Wed, 28 Sep 2016, Martin Storsjö wrote: Just pass calls to msvcrt instead. The msvcrt math functions might not be fully C99 compliant, but the current softfloat implementations are lacking in many other ways (e.g. crashing due to infinite recursion for some input values, only working for

[Mingw-w64-public] [PATCH] Remove ARM softfloat math function implementations

2016-09-28 Thread Martin Storsjö
Just pass calls to msvcrt instead. The msvcrt math functions might not be fully C99 compliant, but the current softfloat implementations are lacking in many other ways (e.g. crashing due to infinite recursion for some input values, only working for certain ranges of input values, etc.). For

Re: [Mingw-w64-public] CRT math implementations on ARM

2016-09-28 Thread Martin Storsjö
On Wed, 7 Sep 2016, Martin Storsjö wrote: Hi, In my testing with mingw-w64 on ARM, I've run into a number of issues with the implementation of the math routines. Some of these issues are: The whole family of log functions is problematic (even after my fix for the number of iterations in

Re: [Mingw-w64-public] [PATCH] fix uchar.h for Clang

2016-09-28 Thread JonY
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 9/28/2016 18:02, Mateusz wrote: > Looks attachment didn't work. Here is the patch: > >> From e98ec7a116256108831f035eb0a7f0f2fdf049e9 Mon Sep 17 00:00:00 >> 2001 > From: mati865 Date: Wed, 28 Sep 2016 11:45:40 > +0200

Re: [Mingw-w64-public] [PATCH] fix uchar.h for Clang

2016-09-28 Thread Mateusz
Looks attachment didn't work. Here is the patch: >From e98ec7a116256108831f035eb0a7f0f2fdf049e9 Mon Sep 17 00:00:00 2001 From: mati865 Date: Wed, 28 Sep 2016 11:45:40 +0200 Subject: [PATCH] fix uchar.h for Clang Clang defines itself as GCC 4.2.1 and triggers check for GCC

Re: [Mingw-w64-public] [PATCH] fix uchar.h for Clang

2016-09-28 Thread Mateusz
Fixed patch so it don't remove newline at the end of file. 2016-09-28 11:54 GMT+02:00 Mateusz : > Fixes this error when compiling with clang: > "D:\projekty\msys2\clang\msys64\mingw32\i686-w64-mingw32\include\uchar.h:34:24: > e rror: cannot combine with previous 'type-name'

[Mingw-w64-public] [PATCH] fix uchar.h for Clang

2016-09-28 Thread Mateusz
Fixes this error when compiling with clang: "D:\projekty\msys2\clang\msys64\mingw32\i686-w64-mingw32\include\uchar.h:34:24: e rror: cannot combine with previous 'type-name' declaration specifier typedef uint_least16_t char16_t; ^