delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/07/06:27:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Hannu E K Nevalainen \(garbage mail\)" <garbage_collector AT telia DOT com>
To: "ML CygWIN" <cygwin AT cygwin DOT com>
Subject: OT? Legacy code and constants / good and portable coding (RE: Compiling Wine in Cygwin)
Date: Sun, 7 Sep 2003 12:25:07 +0200
Message-ID: <NGBBLLIAMFLGJEOAJCCEKELGDDAA.garbage_collector@telia.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
In-Reply-To: <20030905202013.GA2305@aragorn.etc.sk>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On 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 defined in math.h.  I was able to make it compile by
> > changing the shader.c to look for -HUGE_VAL which is defined in
> > cygwin's math.h.  However, I'd like to know if this is a bug to report
> > to Wine or a bug to report to Cygwin.  Since Wine compiles on Linux
> > without a problem, I thought I'd start with Cygwin.
>
> IMHO, that is wine-related problem.
> <http://www.opengroup.org/onlinepubs/007904975/basedefs/math.h.html>
>
--

Ughhh... I wonder who it was that wrote:

> 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.

As there seems to some confusion regarding this: Thus I wonder;

 Is there ANY good reading on what is legacy/outdated - and what isn't!?

/Hannu E K Nevalainen, B.Sc. EE - 59°16.37'N, 17°12.60'E
--END OF MESSAGE--


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019