Re: [Mingw-w64-public] _lrotl and _lrotr

2014-07-26 Thread dw
Well, since no one else has responded, what would you say to this (attached)? If you like, I can write up a detailed description about why I believe this is the way to go, but hopefully the comments and code speak for themselves. This should give the correct definitions for 32bit, LP64 and

Re: [Mingw-w64-public] Bug#755448: fixed in mingw-w64 3.1.0-3

2014-07-26 Thread Rafaël Carré
Hello, On 07/21/14 23:21, Stephen Kitt wrote: Source: mingw-w64 Source-Version: 3.1.0-3 We believe that the bug you reported is fixed in the latest version of mingw-w64, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous

Re: [Mingw-w64-public] Bug#755448: fixed in mingw-w64 3.1.0-3

2014-07-26 Thread JonY
On 7/26/2014 18:52, Rafaël Carré wrote: However autoconf defines neither of these, but only _GNU_SOURCE glibc's features.h defines all the above features if _GNU_SOURCE is defined, but mingw-w64 does not. I suggest removing the ifdef altogether, as strtok_r will always be available. Or

Re: [Mingw-w64-public] _lrotl and _lrotr

2014-07-26 Thread Ozkan Sezer
On 7/26/14, dw limegreenso...@yahoo.com wrote: Well, since no one else has responded, what would you say to this (attached)? If you like, I can write up a detailed description about why I believe this is the way to go, but hopefully the comments and code speak for themselves. This should

Re: [Mingw-w64-public] _lrotl and _lrotr

2014-07-26 Thread JonY
On 7/26/2014 22:39, Ozkan Sezer wrote: On 7/26/14, dw limegreenso...@yahoo.com wrote: Well, since no one else has responded, what would you say to this (attached)? If you like, I can write up a detailed description about why I believe this is the way to go, but hopefully the comments and

Re: [Mingw-w64-public] Bug#755448: fixed in mingw-w64 3.1.0-3

2014-07-26 Thread Stephen Kitt
Hi Rafaël, On Sat, 26 Jul 2014 12:52:44 +0200, Rafaël Carré fun...@videolan.org wrote: On 07/21/14 23:21, Stephen Kitt wrote: * Merge upstream implementation of strtok_r, so it's available on Windows XP. Thanks to Gianluigi Tiesi for pointing out the problem, and to Jonathan

Re: [Mingw-w64-public] Bug#755448: fixed in mingw-w64 3.1.0-3

2014-07-26 Thread Ozkan Sezer
On 7/26/14, Stephen Kitt li...@sk2.org wrote: Hi Rafaël, On Sat, 26 Jul 2014 12:52:44 +0200, Rafaël Carré fun...@videolan.org wrote: On 07/21/14 23:21, Stephen Kitt wrote: * Merge upstream implementation of strtok_r, so it's available on Windows XP. Thanks to Gianluigi Tiesi for

[Mingw-w64-public] Wrong packing in bluetooth struct

2014-07-26 Thread LRN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (2013-09-08 21:47:23) claudiu: LRN : do you have a bluetooth device? If yes, could you please try to compile and run this sample http://pastebin.com/GcaeQqjd (you should use -lws2_32 flag). I don't know why but when I run it on the evironment created

Re: [Mingw-w64-public] Wrong packing in bluetooth struct

2014-07-26 Thread Ozkan Sezer
On 7/27/14, LRN lrn1...@gmail.com wrote: [...] (2013-09-08 22:41:48) LRN: meanwhile - go ahead, fix ws2bth.h (add #pragma pack(push, 1), #pragma pack(pop)) Apparently, i forgot to report this. Seems like v3.x and trunk version of ws2bth.h already has byte-packing via the pshpack1.h and

Re: [Mingw-w64-public] Wrong packing in bluetooth struct

2014-07-26 Thread LRN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27.07.2014 1:49, Ozkan Sezer wrote: On 7/27/14, LRN lrn1...@gmail.com wrote: [...] (2013-09-08 22:41:48) LRN: meanwhile - go ahead, fix ws2bth.h (add #pragma pack(push, 1), #pragma pack(pop)) Apparently, i forgot to report this. Seems

Re: [Mingw-w64-public] _lrotl and _lrotr

2014-07-26 Thread dw
On 7/26/2014 9:29 AM, JonY wrote: On 7/26/2014 22:39, Ozkan Sezer wrote: On 7/26/14, dw limegreenso...@yahoo.com wrote: Well, since no one else has responded, what would you say to this (attached)? If you like, I can write up a detailed description about why I believe this is the way to

Re: [Mingw-w64-public] Wrong packing in bluetooth struct

2014-07-26 Thread Ozkan Sezer
On 7/27/14, LRN lrn1...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27.07.2014 1:49, Ozkan Sezer wrote: On 7/27/14, LRN lrn1...@gmail.com wrote: [...] (2013-09-08 22:41:48) LRN: meanwhile - go ahead, fix ws2bth.h (add #pragma pack(push, 1), #pragma pack(pop))

Re: [Mingw-w64-public] Wrong packing in bluetooth struct

2014-07-26 Thread LRN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27.07.2014 3:06, Ozkan Sezer wrote: On 7/27/14, LRN lrn1...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27.07.2014 1:49, Ozkan Sezer wrote: On 7/27/14, LRN lrn1...@gmail.com wrote: [...] (2013-09-08 22:41:48) LRN:

Re: [Mingw-w64-public] Bug#755448: fixed in mingw-w64 3.1.0-3

2014-07-26 Thread JonY
On 7/27/2014 02:48, Ozkan Sezer wrote: My vote goes for removing the condition altogether and making the prototype always available please. Done, removed in 21b701a. signature.asc Description: OpenPGP digital signature