Re: OT? Legacy code and constants / good and portable coding (RE: Compiling Wine in Cygwin)

2003-09-08 Thread Brian Ford
On Sun, 7 Sep 2003, Hannu E K Nevalainen wrote: > Ughhh... I wonder who it was that wrote: > It was me. >> On Fri, 5 Sep 2003, Igor Pechtchanski wrote: >> >>> HUGE is a SVID-specific value that is equal to MAXFLOAT on my RedHat >>> 7.3 box. That is *not* the same as HUGE_VAL, BTW, so I'd use MAX

OT? Legacy code and constants / good and portable coding (RE: Compiling Wine in Cygwin)

2003-09-07 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Marcel Telka > On 05.09.2003 22:06, Gregory Nutt wrote: > > Trying to compile wine-20030813 in the first release of the 1.5.x > > series. > > > > I discovered that shader.c is looking for -HUGE which is apparently > > supposed to be d

Re: Compiling Wine in Cygwin

2003-09-05 Thread Brian Ford
On Fri, 5 Sep 2003, Igor Pechtchanski wrote: > HUGE is a SVID-specific value that is equal to MAXFLOAT on my RedHat 7.3 > box. That is *not* the same as HUGE_VAL, BTW, so I'd use MAXFLOAT > instead. > MAXFLOAT is outdated. I would suggest FLT_MAX in float.h. -- Brian Ford Senior Realtime Soft

Re: Compiling Wine in Cygwin

2003-09-05 Thread Igor Pechtchanski
On Fri, 5 Sep 2003, Marcel Telka wrote: > > On 05.09.2003 22:06, Gregory Nutt wrote: > > Trying to compile wine-20030813 in the first release of the 1.5.x > > series. > > > > I discovered that shader.c is looking for -HUGE which is apparently > > supposed to be defined in math.h. I was able to ma

Re: Compiling Wine in Cygwin

2003-09-05 Thread Marcel Telka
On 05.09.2003 22:06, Gregory Nutt wrote: Trying to compile wine-20030813 in the first release of the 1.5.x series. I discovered that shader.c is looking for -HUGE which is apparently supposed to be defined in math.h. I was able to make it compile by changing the shader.c to look for -HUGE_VAL whic