Article View: gnu.gcc.bug
Article #1580gcc-2.3.3, IRIX 4.0.1, <limits.h> vs <float.h>
From: Antti Miettinen
Date: Tue, 05 Jan 1993 06:11
Date: Tue, 05 Jan 1993 06:11
10 lines
1008 bytes
1008 bytes
This is not exactly a bug report. This is just an observation of a peculiar situation that might require fixing (propably not). The IRIX-system header limits.h unconditionally defines for example DBL_MAX. So does gcc's float.h but it undef's old definitions before defining. If a program includes float.h before limits.h (like for example Integer.cc in libg++-2.3 does) one gets a lot of warnings. This may not be serious but the constants in system limits.h (and system float.h) are also a bit different from the ones in gcc's float.h.
Technical Details
Message-ID:
<9301050211.AA02217@kikka.hut.fi>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!kikka.hut.fi!apmShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!kikka.hut.fi!apm From: apm@kikka.hut.fi (Antti Miettinen) Subject: gcc-2.3.3, IRIX 4.0.1, <limits.h> vs <float.h> Message-ID: <9301050211.AA02217@kikka.hut.fi> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Tue, 5 Jan 1993 06:11:24 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 13