Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-11 Thread dw
Please keep signature in platform-headers as they are in prototypes. I'm trying to understand exactly what the requirement is here. You've been doing this kind of work for a long time, so if you say there's a reason to do this I expect there is. As I look at your patch (or my second one), I

Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-11 Thread dw
Sorry. Looking back, you did try to describe some of the issues. However, this hasn't helped clear things up. The problems are still essentially what the email I just sent said: The point is that LP64 target provides type size_t proper for its ABI. Yes it does. However, winnt.h still

Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-07 Thread Kai Tietz
2013/6/7 dw limegreenso...@yahoo.com: You miss the point, Umm, ok. So, the end result here is that winnt.h should use SIZE_T, and intrin.h should use size_t. Something like this (attached)? Near, but not exactly what I wrote. Please keep signature in platform-headers as they are in

Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-06 Thread Kai Tietz
No, this patch isn't ok. The type size_t isn't adequate for platform-headers. AFAI researched prototype in platform-header is using SIZE_T. The existing prototypes have to remain in winnt.h header. The prototype of the inline-function has to match the signature of the existing and valid

Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-06 Thread Kai Tietz
2013/6/6 dw limegreenso...@yahoo.com: AFAI researched prototype in platform-header is using SIZE_T. The question is, which header do you want to be consistent with? Even files within the PSDK don't agree. From the platform sdk winnt.h we see: VOID __stosb ( __out_ecount_full(Count)

Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-05 Thread Kai Tietz
2013/6/5 dw limegreenso...@yahoo.com: When using latest mingw-w64 runtime from trunk for Cygwin I have error: http://pastebin.com/9WVgE1Gu I would like to experiment with some alternate solutions to what ktietz proposed, but I need to be sure I understand what is going wrong. My attempts

Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-05 Thread dw
Ok, I get it now. As everyone was trying to tell me (including myself), the problem was in SIZE_T/size_t. I just couldn't get my head around the fact that these two lines are different: typedef unsigned long int size_t; typedef unsigned long long SIZE_T; Under CygWin64, they are

Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-04 Thread Kai Tietz
Hmm, could you try if the following patch solves your problem? Kai Index: winnt.h === --- winnt.h(Revision 5878) +++ winnt.h(Arbeitskopie) @@ -1542,10 +1542,10 @@ extern C { VOID __stosq(PDWORD64 Destination,DWORD64

Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-04 Thread Алексей Павлов
2013/6/4 Kai Tietz ktiet...@googlemail.com Hmm, could you try if the following patch solves your problem? Kai Index: winnt.h === --- winnt.h(Revision 5878) +++ winnt.h(Arbeitskopie) @@ -1542,10 +1542,10 @@ extern C {

Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-04 Thread Алексей Павлов
Oh, I am sorry! I change winnt.h bat forgot to click save button) It works now Kai! 2013/6/4 Kai Tietz ktiet...@googlemail.com You missed the hunk for winnt.h header. Kai -- How ServiceNow helps IT people

Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-04 Thread Kai Tietz
You missed the hunk for winnt.h header. Kai -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of

Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-04 Thread dw
When using latest mingw-w64 runtime from trunk for Cygwin I have error: http://pastebin.com/9WVgE1Gu I would like to experiment with some alternate solutions to what ktietz proposed, but I need to be sure I understand what is going wrong. My attempts to reproduce the problem have not been

Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-04 Thread Алексей Павлов
2013/6/5 dw limegreenso...@yahoo.com When using latest mingw-w64 runtime from trunk for Cygwin I have error: http://pastebin.com/9WVgE1Gu I would like to experiment with some alternate solutions to what ktietz proposed, but I need to be sure I understand what is going wrong. My attempts

[Mingw-w64-public] Runtime for Cygwin

2013-06-03 Thread Алексей Павлов
Hi, all! When using latest mingw-w64 runtime from trunk for Cygwin I have error: http://pastebin.com/9WVgE1Gu Regards, Alexey. -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting

Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-03 Thread Kai Tietz
2013/6/3 Алексей Павлов alex...@gmail.com: Hi, all! When using latest mingw-w64 runtime from trunk for Cygwin I have error: http://pastebin.com/9WVgE1Gu Regards, Alexey. Hmm, means that Interlocked-Functions getting defined twice with different prototypes. Corinna, any idea here? Regards,

Re: [Mingw-w64-public] Runtime for Cygwin

2013-06-03 Thread Алексей Павлов
I have this error only on 64-bit Cygwin 2013/6/3 Kai Tietz ktiet...@googlemail.com 2013/6/3 Алексей Павлов alex...@gmail.com: Hi, all! When using latest mingw-w64 runtime from trunk for Cygwin I have error: http://pastebin.com/9WVgE1Gu Regards, Alexey. Hmm, means that