Re: [Mingw-w64-public] discrepancy between MinGW32 and MinGW-w64 winbase.h (Interlocked API)

2010-08-17 Thread Kai Tietz
2010/8/17 Pete Batard pbat...@gmail.com: For 32 bit, the current MinGW-w64 winbase has:   LONG InterlockedIncrement(LONG volatile *lpAddend);   LONG InterlockedDecrement(LONG volatile *lpAddend);   LONG InterlockedExchange(LONG volatile *Target,LONG Value); However, MinGW32 uses:   LONG

Re: [Mingw-w64-public] discrepancy between MinGW32 and MinGW-w64 winbase.h (Interlocked API)

2010-08-17 Thread Ozkan Sezer
On Tue, Aug 17, 2010 at 2:24 PM, Kai Tietz ktiet...@googlemail.com wrote: 2010/8/17 Pete Batard pbat...@gmail.com: For 32 bit, the current MinGW-w64 winbase has:   LONG InterlockedIncrement(LONG volatile *lpAddend);   LONG InterlockedDecrement(LONG volatile *lpAddend);   LONG

Re: [Mingw-w64-public] discrepancy between MinGW32 and MinGW-w64 winbase.h (Interlocked API)

2010-08-17 Thread Kai Tietz
2010/8/17 Ozkan Sezer seze...@gmail.com: On Tue, Aug 17, 2010 at 2:24 PM, Kai Tietz ktiet...@googlemail.com wrote: 2010/8/17 Pete Batard pbat...@gmail.com: For 32 bit, the current MinGW-w64 winbase has:   LONG InterlockedIncrement(LONG volatile *lpAddend);   LONG InterlockedDecrement(LONG

Re: [Mingw-w64-public] discrepancy between MinGW32 and MinGW-w64 winbase.h (Interlocked API)

2010-08-17 Thread Ozkan Sezer
On Tue, Aug 17, 2010 at 2:34 PM, Kai Tietz ktiet...@googlemail.com wrote: 2010/8/17 Ozkan Sezer seze...@gmail.com: On Tue, Aug 17, 2010 at 2:24 PM, Kai Tietz ktiet...@googlemail.com wrote: 2010/8/17 Pete Batard pbat...@gmail.com: For 32 bit, the current MinGW-w64 winbase has:   LONG

Re: [Mingw-w64-public] discrepancy between MinGW32 and MinGW-w64 winbase.h (Interlocked API)

2010-08-17 Thread Pete Batard
On 2010.08.17 12:29, Ozkan Sezer wrote: Thank you Pete for noticing that. We are aware of this and we solved things here a bit different, but AFAIR, they aren't specifically marked as WINAPI in ms headers (well, maybe their mistake?..) Well, the thing is that the MSDN documentation has

Re: [Mingw-w64-public] discrepancy between MinGW32 and MinGW-w64 winbase.h (Interlocked API)

2010-08-17 Thread Kai Tietz
2010/8/17 Ozkan Sezer seze...@gmail.com: On Tue, Aug 17, 2010 at 2:44 PM, Kai Tietz ktiet...@googlemail.com wrote: 2010/8/17 Pete Batard pbat...@gmail.com: On 2010.08.17 12:29, Ozkan Sezer wrote: Thank you Pete for noticing that. We are aware of this and we solved things here a bit different,

Re: [Mingw-w64-public] discrepancy between MinGW32 and MinGW-w64 winbase.h (Interlocked API)

2010-08-17 Thread Ozkan Sezer
On Tue, Aug 17, 2010 at 2:52 PM, Kai Tietz ktiet...@googlemail.com wrote: 2010/8/17 Ozkan Sezer seze...@gmail.com: On Tue, Aug 17, 2010 at 2:44 PM, Kai Tietz ktiet...@googlemail.com wrote: 2010/8/17 Pete Batard pbat...@gmail.com: On 2010.08.17 12:29, Ozkan Sezer wrote: Thank you Pete for

Re: [Mingw-w64-public] discrepancy between MinGW32 and MinGW-w64 winbase.h (Interlocked API)

2010-08-17 Thread Kai Tietz
2010/8/17 Kai Tietz ktiet...@googlemail.com: 2010/8/17 Ozkan Sezer seze...@gmail.com: On Tue, Aug 17, 2010 at 2:44 PM, Kai Tietz ktiet...@googlemail.com wrote: 2010/8/17 Pete Batard pbat...@gmail.com: On 2010.08.17 12:29, Ozkan Sezer wrote: Thank you Pete for noticing that. We are aware of

Re: [Mingw-w64-public] discrepancy between MinGW32 and MinGW-w64 winbase.h (Interlocked API)

2010-08-17 Thread Kai Tietz
2010/8/17 Ozkan Sezer seze...@gmail.com: On Tue, Aug 17, 2010 at 2:52 PM, Kai Tietz ktiet...@googlemail.com wrote: 2010/8/17 Ozkan Sezer seze...@gmail.com: On Tue, Aug 17, 2010 at 2:44 PM, Kai Tietz ktiet...@googlemail.com wrote: 2010/8/17 Pete Batard pbat...@gmail.com: On 2010.08.17 12:29,

Re: [Mingw-w64-public] discrepancy between MinGW32 and MinGW-w64 winbase.h (Interlocked API)

2010-08-17 Thread Pete Batard
On 2010.08.17 12:55, Kai Tietz wrote: Pete, could you provide us a list of the Interlock* API, which has stdcall calling convention by our findings? Please just list names of those functions and don't copy from VC's header-set. So we can adjust things for win32 more easily without violating

Re: [Mingw-w64-public] discrepancy between MinGW32 and MinGW-w64 winbase.h (Interlocked API)

2010-08-17 Thread Kai Tietz
2010/8/17 Pete Batard pbat...@gmail.com: On 2010.08.17 12:55, Kai Tietz wrote: Pete, could you provide us a list of the Interlock* API, which has stdcall calling convention by our findings? Please just list names of those functions and don't copy from VC's header-set. So we can adjust things

Re: [Mingw-w64-public] discrepancy between MinGW32 and MinGW-w64 winbase.h (Interlocked API)

2010-08-17 Thread Ozkan Sezer
On Tue, Aug 17, 2010 at 3:50 PM, Kai Tietz ktiet...@googlemail.com wrote: 2010/8/17 Pete Batard pbat...@gmail.com: On 2010.08.17 12:55, Kai Tietz wrote: Pete, could you provide us a list of the Interlock* API, which has stdcall calling convention by our findings? Please just list names of

Re: [Mingw-w64-public] discrepancy between MinGW32 and MinGW-w64 winbase.h (Interlocked API)

2010-08-17 Thread Kai Tietz
2010/8/17 Ozkan Sezer seze...@gmail.com: On Tue, Aug 17, 2010 at 3:50 PM, Kai Tietz ktiet...@googlemail.com wrote: 2010/8/17 Pete Batard pbat...@gmail.com: On 2010.08.17 12:55, Kai Tietz wrote: Pete, could you provide us a list of the Interlock* API, which has stdcall calling convention by

Re: [Mingw-w64-public] discrepancy between MinGW32 and MinGW-w64 winbase.h (Interlocked API)

2010-08-17 Thread Kai Tietz
2010/8/17 Ozkan Sezer seze...@gmail.com: On Tue, Aug 17, 2010 at 4:08 PM, Kai Tietz ktiet...@googlemail.com wrote: 2010/8/17 Ozkan Sezer seze...@gmail.com: On Tue, Aug 17, 2010 at 3:50 PM, Kai Tietz ktiet...@googlemail.com wrote: 2010/8/17 Pete Batard pbat...@gmail.com: On 2010.08.17 12:55,