Re: [Mingw-w64-public] [patch/bulk] More GUID definitions, less L qualifiers

2012-07-19 Thread Corinna Vinschen
On Jul 19 19:53, Kai Tietz wrote: > 2012/7/19 Corinna Vinschen : > > On Jul 19 18:49, Corinna Vinschen wrote: > >> On Jul 19 18:13, Kai Tietz wrote: > >> > Hi Corinna, > >> > > >> > patch is ok. Well, I assume you got most of them now. > >> > >> Nope, there are just too many of them. I suspect th

Re: [Mingw-w64-public] [patch/bulk] More GUID definitions, less L qualifiers

2012-07-19 Thread Kai Tietz
2012/7/19 Corinna Vinschen : > On Jul 19 18:49, Corinna Vinschen wrote: >> On Jul 19 18:13, Kai Tietz wrote: >> > Hi Corinna, >> > >> > patch is ok. Well, I assume you got most of them now. >> >> Nope, there are just too many of them. I suspect they breed and hatch >> while I'm hunting them :) >>

Re: [Mingw-w64-public] [patch/bulk] More GUID definitions, less L qualifiers

2012-07-19 Thread Corinna Vinschen
On Jul 19 18:49, Corinna Vinschen wrote: > On Jul 19 18:13, Kai Tietz wrote: > > Hi Corinna, > > > > patch is ok. Well, I assume you got most of them now. > > Nope, there are just too many of them. I suspect they breed and hatch > while I'm hunting them :) > > > Corinna > > > * ksmedi

Re: [Mingw-w64-public] [patch/bulk] More GUID definitions, less L qualifiers

2012-07-19 Thread Kai Tietz
Hi Corinna, patch is ok. Well, I assume you got most of them now. Thanks, Kai -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how I

Re: [Mingw-w64-public] [patch/bulk] replace casted expressions using L modifier

2012-07-19 Thread Kai Tietz
Hello, 2012/7/19 Corinna Vinschen : > Hi, > > the below patch drops all 'L' modifiers from all casted numerical constant > expressions: > > ((type) [lL]) > > As you probably guessed, I'm trying to minimize the expressions which > need the __MSABI_LONG macro, before providing the massive patch wh

Re: [Mingw-w64-public] [patch] _cygwin.h: Define _WIN64 if targeting 64 bit

2012-07-19 Thread Corinna Vinschen
On Jul 19 14:40, Kai Tietz wrote: > Hi Corinna, > > Hmm, well, patch is ok. I am still thinking that we should handle > _WIN64 and _WIN32 in a push/pop macro header. As we discussed on IRC, > it might be the case that some ventures already are checking for > _WIN64 for probing for native Windows

Re: [Mingw-w64-public] [patch] Drop 'L' modifier from Data1 member in GUID definitions

2012-07-19 Thread Kai Tietz
Hi Corinna, thanks for the work. patch is ok. Regards, Kai -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can resp

Re: [Mingw-w64-public] [patch] _cygwin.h: Define _WIN64 if targeting 64 bit

2012-07-19 Thread Kai Tietz
Hi Corinna, Hmm, well, patch is ok. I am still thinking that we should handle _WIN64 and _WIN32 in a push/pop macro header. As we discussed on IRC, it might be the case that some ventures already are checking for _WIN64 for probing for native Windows. Regards, Kai -

[Mingw-w64-public] [patch] Drop 'L' modifier from Data1 member in GUID definitions

2012-07-19 Thread Corinna Vinschen
Hi, as the subject says, this patch only drops the 'L' modifiers in the DEFINE_GUID expressions in the SDK headers, just as requested for my yesterday's patch to the ddk headers. Ok? Thanks, Corinna * ks.h: Throughout, drop 'L' modifier from Data1 member in GUID definitions.

Re: [Mingw-w64-public] [patch] usb.h: Use _WIN64 rather than WIN64

2012-07-19 Thread Kai Tietz
Patch is ok. Thanks, Kai -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpo

Re: [Mingw-w64-public] [patch/bulk] ddk: Use __MSABI_LONG where appropriate

2012-07-19 Thread Corinna Vinschen
On Jul 18 14:37, Amine Khaldi wrote: > Hi Kai, Corinna (and list), > > > Thanks for this. I added Amine to CC, as he might be interested to get > > this back-ported to ROS. > I'm not aware of any project other than Wine that needs this, and Wine > do not use our DDK headers. I fully support havin

Re: [Mingw-w64-public] [patch/bulk] ddk: Use __MSABI_LONG where appropriate

2012-07-19 Thread Amine Khaldi
Hi Kai, Corinna (and list), > Thanks for this. I added Amine to CC, as he might be interested to get > this back-ported to ROS. I'm not aware of any project other than Wine that needs this, and Wine do not use our DDK headers. I fully support having this for user mode header, but I don't see any

[Mingw-w64-public] [patch] _cygwin.h: Define _WIN64 if targeting 64 bit

2012-07-19 Thread Corinna Vinschen
Hi, the Cygwin compiler doesn't define _WIN32 and _WIN64, but _WIN64 is used throughout the SDK headers. Changing all the headers to use another preprocessor check is pretty intrusive, so I think we should just go with defining _WIN64 for now, if called by a 64 bit Cygwin targeting compiler. Ok

Re: [Mingw-w64-public] winpthreads patch for pthread_getspecific()/pthread_setspecific() function for restore WIN last error code

2012-07-19 Thread niXman
2012/7/18 Ozkan Sezer: > Some very small C program showing the brokenness without > the change, and showing the healthiness with the change applied. > The existing tests in winpthreads are examples. > Test for patch for pthread_getspecific(). Without the patch, main() return -2. #include struct

[Mingw-w64-public] [patch] usb.h: Use _WIN64 rather than WIN64

2012-07-19 Thread Corinna Vinschen
Hi, Usb.h contains an #ifdef WIN64 quite in contrast to all other header files, which use the underscored variant instead: #ifdef _WIN64 The below patch fixes that for consistency. Ok to apply? Thanks, Corinna * usb.h: Check for _WIN64 instead of WIN64. Index: usb.h