Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 5 Sep 2003 16:28:44 -0400 (EDT)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Marcel Telka <marcel@telka.sk>
cc: cygwin@cygwin.com
Subject: Re: Compiling Wine in Cygwin
In-Reply-To: <20030905202013.GA2305@aragorn.etc.sk>
Message-ID: <Pine.GSO.4.56.0309051626250.7348@slinky.cs.nyu.edu>
References: <20030905202013.GA2305@aragorn.etc.sk>
Importance: Normal
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

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

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.  HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

