Re: [Mingw-w64-public] r212448 - in /trunk: gcc/ChangeLog gcc/Makefile...

2014-07-25 Thread JonY
On 7/25/2014 12:36, Dongsheng Song wrote: > This just fix the ftw issue. But still have "%lld", mkdir, "GCC poison > strerror" issue on gcov. > You can following the build instructions at: > > http://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-doc/howto-build/mingw-w64-howto-bui

Re: [Mingw-w64-public] r212448 - in /trunk: gcc/ChangeLog gcc/Makefile...

2014-07-25 Thread JonY
On 7/25/2014 12:36, Dongsheng Song wrote: > This just fix the ftw issue. But still have "%lld", mkdir, "GCC poison > strerror" issue on gcov. > You can following the build instructions at: > > http://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-doc/howto-build/mingw-w64-howto-bui

[Mingw-w64-public] problem using printf with __int128 in 4.9.0

2014-07-25 Thread Jim Michaels
#include #include <_mingw.h> int main(void) {     __int128 i=170141183460469231731687303715884105727LLL;     unsigned __int128 u=340282366920938463463374607431768211455ULLL;     //printf("i=%I128d\n", i);     printf("%*d", 128/8, i);     printf("  170141183460469231731687303715884105727LLL\n");  

[Mingw-w64-public] __int128 literals don't work

2014-07-25 Thread Jim Michaels
__int128.cpp:4:16: warning: integer constant is too large for its type __int128 i=170141183460469231731687303715884105727LL;     ^ __int128.cpp:5:25: warning: integer constant is too large for its type unsigned __int128 u=340282366920938463463374607431768211455ULL;    

Re: [Mingw-w64-public] __int128 literals don't work

2014-07-25 Thread Ruben Van Boxem
2014-07-25 13:16 GMT+02:00 Jim Michaels : > __int128.cpp:4:16: warning: integer constant is too large for its type > __int128 i=170141183460469231731687303715884105727LL; > ^ > __int128.cpp:5:25: warning: integer constant is too large for its type > unsigned __int128 u=34

Re: [Mingw-w64-public] problem using printf with __int128 in 4.9.0

2014-07-25 Thread Ruben Van Boxem
2014-07-25 13:10 GMT+02:00 Jim Michaels : > #include > #include <_mingw.h> > int main(void) { > __int128 i=170141183460469231731687303715884105727LLL; > unsigned __int128 u=340282366920938463463374607431768211455ULLL; > //printf("i=%I128d\n", i); > printf("%*d", 128/8, i); > p

Re: [Mingw-w64-public] 4.9.1. fails to compile project while 4.8.1 succeeds

2014-07-25 Thread Óscar Fuentes
klo uo writes: [snip] > Now that you mention MSYS2, quick Google shows it related to Cygwin, but it > seems you use it with MinGW? > It looks interesting, can you confirm if you use MSYS2 exclusively with > MinGW? MSYS2 is a Cygwin fork, but it comes with a package system that contains lots of

Re: [Mingw-w64-public] __int128 literals don't work

2014-07-25 Thread Kai Tietz
2014-07-25 13:27 GMT+02:00 Ruben Van Boxem : > 2014-07-25 13:16 GMT+02:00 Jim Michaels : >> >> __int128.cpp:4:16: warning: integer constant is too large for its type >> __int128 i=170141183460469231731687303715884105727LL; >> ^ >> __int128.cpp:5:25: warning: integer constant is

Re: [Mingw-w64-public] problem using printf with __int128 in 4.9.0

2014-07-25 Thread JonY
On 7/25/2014 19:40, Ruben Van Boxem wrote: > > The fact that the compiler has a type does not mean the C library can > handle it. > Rebuild mingw-w64-crt with --enable-experimental=printf128 to enable experimental integer handling in __mingw* family of printf. Use %I128[u,d,x]. signature.a

Re: [Mingw-w64-public] problem using printf with __int128 in 4.9.0

2014-07-25 Thread Ruben Van Boxem
2014-07-25 17:06 GMT+02:00 JonY : > On 7/25/2014 19:40, Ruben Van Boxem wrote: > > > > The fact that the compiler has a type does not mean the C library can > > handle it. > > > > Rebuild mingw-w64-crt with --enable-experimental=printf128 to enable > experimental integer handling in __mingw* famil

[Mingw-w64-public] [PATCH] softmath: Add more double functions

2014-07-25 Thread André Hentschel
Please review, i'll commit it, just need an OK. diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am index 175ecdd..5d4e469 100644 --- a/mingw-w64-crt/Makefile.am +++ b/mingw-w64-crt/Makefile.am @@ -220,18 +220,18 @@ src_libmingwex=\ gdtoa/strtopx.c gdtoa/sum.c gdtoa/ulp.c

Re: [Mingw-w64-public] [PATCH] softmath: Add more double functions

2014-07-25 Thread JonY
On 7/26/2014 06:20, André Hentschel wrote: > +double log2(double x) > +{ > +return softmath_log(x) / softmath_log(2); > +} Any reason not to expand softmath_log(2) into a constant? Otherwise, it looks OK. signature.asc Description: OpenPGP digital signature