This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: crashing bug : found... destroyed


On Tue, Jul 31, 2001 at 03:12:39PM -0400, Harold Hunt wrote:
> I did a search for 'hypot' and verified that each of the following files has
> a call to 'double hypot (double, double)' and that each file is actually
> relevant to Cygwin/XFree86:
> 
> xc/lib/font/bitmap/bitscale.c
> xc/lib/font/fontfile/fontscale.c
> xc/lib/font/FreeType/ftfuncs.c
> xc/lib/font/Speedo/spfont.c
> xc/lib/font/Type1/cidchar.c
> xc/lib/font/Type1/t1funcs.c
> xc/lib/xkbui/XKBui.c
> xc/programs/xeyes/Eyes.c (has an extern prototype for double
> 	hypot (double, double), but it only gets declared when
> 	((defined(SVR4) || defined(SYSV) && defined(i386)).
> xc/programs/Xserver/mi/miarc.c
> xc/programs/Xserver/mi/miwideline.c
> 
> So, we've got 10 files that need a header fix, and I'm wondering if we
> (anybody other than myself :) should instead submit a patch to Newlib to
> cause 'double hypot (double, double)' to be defined when
> (defined(_XOPEN_SOURCE) || !defined(__STRICT_ANSI__)), instead of just
> (!defined(__STRICT_ANSI__)).
> 
Is there a chance that Suhaib (or get together with Chris Faylor) to tackle
this problem with the newlib folks.

Alan.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]