🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6144

gcc 2.7.2.1: float.h: unresolved constants

#6144
From: Chuck Yerkes
Date: Thu, 14 Nov 1996 00:00
27 lines
1212 bytes
Platform(s): Solaris 2.5 and SunOS 413_U1 (SparcStation 2) (likely more).
Package:     GCC Version 2.7.2.1

- Likely header file error.
- Discovered while recompiling perl 5.003 (first BIG package to
  use the newly build 2.7.2.1).

File: /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_U1/2.7.2.1/include/float.h

In float.h there are references to "Infinity" which are never
resolved (that *I* can find).

#define DBL_MAX Infinity

(and related for float and long).

My solution was to take the float.h from 2.7.2, which used actual
numbers, rather than "Infinity", "InfinityL", etc.

The real solution, I don't know.  I'm not THAT familiar with how
GCC creates these files.

Thanks,

chuck yerkes
chuck@yerkes.com
Technical Details
Message-ID: <199611150011.TAA12552@chaos.home.yerkes.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,daca902ac09670a4,start
X-Google-Attributes: gid113d02,public
From: Chuck@yerkes.com (Chuck Yerkes)
Subject: gcc 2.7.2.1: float.h: unresolved constants
Date: 1996/11/14
Message-ID: <199611150011.TAA12552@chaos.home.yerkes.com>
X-Deja-AN: 196711168
sender: bug-gcc-request@prep.ai.mit.edu
x-gateway: relay1.UU.NET from bug-gcc to gnu.gcc.bug; Fri, 15 Nov 1996 14:53:51 EST
newsgroups: gnu.gcc.bug