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 wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> On 27.07.2014 1:49, Ozkan Sezer wrote: >>> On 7/27/14, LRN wrote: [...] (2013-09-08 22:41:48) LRN: meanwhile - go ahead, fix

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

2014-07-26 Thread Ozkan Sezer
On 7/27/14, LRN wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 27.07.2014 1:49, Ozkan Sezer wrote: >> On 7/27/14, LRN 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

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 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 lik

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

2014-07-26 Thread Ozkan Sezer
On 7/27/14, LRN 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 poppack.h includ

[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 b