This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: patch for -Wno-long-long and early GNAT compilers
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 19 Mar 2002 10:29:42 -0800
- Subject: Re: patch for -Wno-long-long and early GNAT compilers
- References: <10203191759.AA14255@vlsi1.ultra.nyu.edu>
On Tue, Mar 19, 2002 at 12:59:12PM -0500, Richard Kenner wrote:
> What do you think of this patch?
>
> I understand the Makefile change, but not the rest.
The raise.c changes work around two separate problems. 2.95 and later
provide <stdbool.h>; if ADAC is 2.8.1 but CC is 2.95, configure will
record stdbool.h as available, and system.h will try to include it.
Since 2.8.1 didn't have it, the compile fails.
When raise.c is compiled by 2.8.1, it refers to __dummy. That symbol
was removed from libgcc.a in 3.0, so if ADAC is 2.8.1 and CC is 3.0,
unless we provide a definition, the link will fail.
Both these changes are conservative (err in the direction of assuming
some feature is not present) so they should be safe.
The install.texi change just adds "and the matching @file{cc1}" right
after "@file{gnat1}"; this is not obvious because the paragraph got
re-wrapped.
zw