[Mingw-w64-public] [Patch] Prevent wspiapi from clashing with cygwin ctypes.h

2015-08-03 Thread JonY
Patch OK? diff --git a/mingw-w64-headers/include/wspiapi.h b/mingw-w64-headers/include/wspiapi.h index 3328955..476a561 100644 --- a/mingw-w64-headers/include/wspiapi.h +++ b/mingw-w64-headers/include/wspiapi.h @@ -23,7 +23,7 @@ #ifndef __cplusplus #define _WSPIAPI_COUNTOF(_Array) (sizeof(_Arra

Re: [Mingw-w64-public] Clang Support for log1pl.S

2015-08-03 Thread JonY
On 8/4/2015 02:20, Martell Malone wrote: > I would like to not that I sent something into the LLVM mailing list on > this also. > https://groups.google.com/forum/#!topic/llvm-dev/gAFEY5R0Qkc > > It seems that it is not a very easy thing to change on their end so it may > be best to work around it

Re: [Mingw-w64-public] rdtsc support for clang

2015-08-03 Thread JonY
On 8/4/2015 03:35, Martell Malone wrote: > Clang defines __rdtsc as inline in intrin.h > > mingw-w64-crt/intrincs/rdtsc.c:9:18: error: redefinition of '__rdtsc' > unsigned __int64 __rdtsc(void) > ^ > clang\3.7.0\include\ia32intrin.h:89:1: note: previous definition is here > __rdts

Re: [Mingw-w64-public] winpthreads

2015-08-03 Thread Adrien Nader
Hi, Have the executables using the winpthread library been rebuilt? -- Adrien Nader -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.s

[Mingw-w64-public] rdtsc support for clang

2015-08-03 Thread Martell Malone
Clang defines __rdtsc as inline in intrin.h mingw-w64-crt/intrincs/rdtsc.c:9:18: error: redefinition of '__rdtsc' unsigned __int64 __rdtsc(void) ^ clang\3.7.0\include\ia32intrin.h:89:1: note: previous definition is here __rdtsc(void) { This bypasses that inline when building the

Re: [Mingw-w64-public] Clang Support for log1pl.S

2015-08-03 Thread Martell Malone
I would like to not that I sent something into the LLVM mailing list on this also. https://groups.google.com/forum/#!topic/llvm-dev/gAFEY5R0Qkc It seems that it is not a very easy thing to change on their end so it may be best to work around it for now. This is the only place that it is used Kind

[Mingw-w64-public] Clang Support for log1pl.S

2015-08-03 Thread Martell Malone
I'd like some feedback on this patch if possible Kind Regards Martell diff --git a/mingw-w64-crt/math/log1pl.S b/mingw-w64-crt/math/log1pl.S index 7ff0f5b..5c17ae4 100644 --- a/mingw-w64-crt/math/log1pl.S +++ b/mingw-w64-crt/math/log1pl.S @@ -16,7 +16,11 @@ -1 + sqrt(2) / 2 <= x <= 1 - sqrt(2

Re: [Mingw-w64-public] Linking binary data using mingw-w64 for 32 bit Windows executable

2015-08-03 Thread Andrej Balkonski
Thanks, Hannes, That did the trick. But let me think if I understand it correctly. 64 bit ld introduces start, end, size, etc. variables with underscores whereas 32 bit one does that without? Not that I think that either is the "standard", but I think that should be the same for both. Just my two

Re: [Mingw-w64-public] Patch: complete implementation of intsafe.h

2015-08-03 Thread David Grayson
Hello, Jacek. Thanks for taking a look at my patch! 1) I will add "#if __GNUC__ >= 5" around the parts that use the new built-ins. 2) I'll remove the change to limits.h 3) I'll remove the link to my GitHub; I was hoping people would use my script to regenerate the header but it's fine if they

Re: [Mingw-w64-public] Linking binary data using mingw-w64 for 32 bit Windows executable

2015-08-03 Thread Hannes Domani
Hello Andrej Balkonski schrieb am 17:44 Montag, 3.August 2015: > Hello everybody, > I have a problem with linking-in binary data into a 32 bit Windows executable > using mingw-w64. > I'm doing this on Linux (Kubuntu 14.04.2 LTS) but the same thing also > manifests itself on Windows machine(s)

[Mingw-w64-public] Linking binary data using mingw-w64 for 32 bit Windows executable

2015-08-03 Thread Andrej Balkonski
Hello everybody, I have a problem with linking-in binary data into a 32 bit Windows executable using mingw-w64. I'm doing this on Linux (Kubuntu 14.04.2 LTS) but the same thing also manifests itself on Windows machine(s). Not to repeat myself, I'll just post a link to already posted explanation:

Re: [Mingw-w64-public] Patch: complete implementation of intsafe.h

2015-08-03 Thread Jacek Caban
Hi David, That's a nice work, thanks! On 08/02/15 21:17, David Grayson wrote: > Hello. Attached is version 2.0.0 of the patch, which is very > different and only supports GCC 5 and above, because it uses new > built-in functions. This version is only 331 lines long (down from > ~1600). It is e

Re: [Mingw-w64-public] Patch for locking printf

2015-08-03 Thread Dongsheng Song
On Mon, Aug 3, 2015 at 12:26 PM, lh_mouse wrote: > ISO C11 requires operations on the same stream (or whatever a FILE struct > handles) _not_ to interleave with each other. > This should include outputting each character using puts() or printf() > functions, since they both manipulate the `stdou