Re: fix for 30094 breaks HURD compilation again

2010-06-11 Thread Yavor Doganov
Riccardo Mottola wrote: > Yavor's patch is in theory correct, but in practice wrong. GLIBC is a > mess to work with. It becomes a mess if you start playing with defines, yes. Furthermore, you have to adjust them for every new porting target. > I already tried to make the original code which used

Re: fix for 30094 breaks HURD compilation again

2010-06-11 Thread David Chisnall
On 11 Jun 2010, at 10:54, Yavor Doganov wrote: > -#define GS_INIT_RECURSIVE_MUTEX(x) x = > PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP > +#define GS_INIT_RECURSIVE_MUTEX(x) x = (pthread_mutex_t) > PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP > # elif defined(PTHREAD_RECURSIVE_MU

Re: Testing for drawing fixes r30523

2010-06-11 Thread Quentin Mathé
On Wed, Jun 9, 2010 at 4:42 PM, Quentin Mathé wrote: I now have several applications that run fine such as Gorm and > SystemPreferences :-) > I can now tackle the drawing issue for real. > I have started to work on the various drawing issues I have observed with the Windows backend. This backend

Re: fix for 30094 breaks HURD compilation again

2010-06-11 Thread Yavor Doganov
David Chisnall wrote: > I'm not sure why this explicit cast should be required. The type of > both of these should be pthread_mutex_t. foo.c: == #include int main (void) { pthread_mutex_t foo; foo = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; } ==

Re: fix for 30094 breaks HURD compilation again

2010-06-11 Thread Yavor Doganov
Yavor Doganov wrote: > Riccardo Mottola wrote: > > now using __GLIBC__ causes troubles on Hurd with GCC (and possibly > > other platforms which I don't remember), > > The Debian archive is full of code like this, so it's strange that it > causes trouble. What is the specific error? Without havin

Re: fix for 30094 breaks HURD compilation again

2010-06-11 Thread Riccardo Mottola
Hi, now using __GLIBC__ causes troubles on Hurd with GCC (and possibly other platforms which I don't remember), The Debian archive is full of code like this, so it's strange that it causes trouble. What is the specific error? Well, I just check for GNU and GLIBC as http://glibc-bsd

Re: Testing for drawing fixes r30523

2010-06-11 Thread Riccardo Mottola
Hi, Can I use the updated GDI API introduced with Windows 2000? I doubt anyone is currently interested in deploying Windows applications on older Windows versions, but let me know… I'm interested in using SetWorldTransform() and similar to support stuff like rotation. Doug, if you are stuck beca

Re: Application releases...

2010-06-11 Thread Riccardo Mottola
Hi, Stef Bidi wrote: Thanks... I'll try it out as soon as I can. Saw that you updated the bug report, as well, and will report back there. Build GWorkspace just a few weeks back on Slackware 13.1 (latest release) and it was giving me the same problems... sqlite3.h is found but it can't link a

Re: Testing for drawing fixes r30523

2010-06-11 Thread Doug Simons
Hi Quentin, Thanks for working on this! We look forward to rolling ahead once everything is working. Windows XP and later is all that matters to us. Cheers, Doug On Jun 11, 2010, at 4:46 AM, Quentin Mathé wrote: > On Wed, Jun 9, 2010 at 4:42 PM, Quentin Mathé wrote: > > I now have several a

Re: Testing for drawing fixes r30523

2010-06-11 Thread David Chisnall
On 11 Jun 2010, at 18:51, Riccardo Mottola wrote: > What "older" could we support? Only WinNT4, because all the other windows > versions wouldn't be supported by recent mingw anymore, which now requires a > "Nt class" kernel. I don't have an NT4 machine available, I don't know if > anybody even

Re: fix for 30094 breaks HURD compilation again

2010-06-11 Thread Yavor Doganov
Riccardo Mottola wrote: > Well, I just check for GNU and GLIBC as > http://glibc-bsd.alioth.debian.org/porting/PORTING > suggests, which is a debian porting document! Right, and I already corrected myself. I confirm my initial patch attached to the bug is not OK. (For the record, I still retain

Re: Testing for drawing fixes r30523

2010-06-11 Thread Lars Sonchocky-Helldorf
Am 11.06.2010 um 19:51 schrieb Riccardo Mottola: Hi, Can I use the updated GDI API introduced with Windows 2000? I doubt anyone is currently interested in deploying Windows applications on older Windows versions, but let me know… I'm interested in using SetWorldTransform() and similar to

Re: Testing for drawing fixes r30523

2010-06-11 Thread David Chisnall
On 11 Jun 2010, at 21:39, Lars Sonchocky-Helldorf wrote: >> Yes, Windows2000 is fine. I use it regularly with GNUstep. W2K is itself >> quite old but still widespread. > > Mhh, must be something below 1% worldwide as you can see here: > > http://gs.statcounter.com/#os-ww-monthly-200906-201006 >