[racket] USE_SINGLE_FLOATS_AS_DEFAULT stops racket-5.1.1 build on Solaris x86

From: Tim Brown (tim.brown at cityc.co.uk)
Date: Tue May 24 06:49:29 EDT 2011


In racket/src/number.c and racket/src/numstr.c, replacing "single" with
"sngl" when it is used as a variable name works.

Well spotted with the keyword clash!



On 24/05/11 03:41, Matthew Flatt wrote:
> Does renaming the variable to `sgl' fix the problem?
> My guess is that `single' is defined as a type by some header and
> "xform.rkt" can't deal with the collision.

Tim Brown <tim.brown at cityc.co.uk>  | City Computing Limited            |
T: +44 20 8770 2110                | City House, Sutton Park Road      |
F: +44 20 8770 2130                | Sutton, Surrey, SM1 2AE, GB       |
BEAUTY:  What's in your eye when you have a bee in your hand           |
City Computing Limited registered in London No. 1767817.
Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE
VAT number 372 8290 34.

Posted on the users mailing list.