This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] warning patrol episode II
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Subject: Re: [Ada] warning patrol episode II
- From: Zack Weinberg <zack at codesourcery dot com>
- Date: Sun, 28 Oct 2001 16:31:17 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <10110282128.AA27985@vlsi1.ultra.nyu.edu>
On Sun, Oct 28, 2001 at 04:28:10PM -0500, Richard Kenner wrote:
> > - sysdep.c: uses #elif and -Wtraditional, I don't know wether it's better
> > to remove -Wtraditional of to unglify to avoid #elif.
>
> The Ada front end is built during stage1 of a bootstrap, and this may
> happen with a K+R compiler, so you must avoid use of #elif.
>
> sysdep.c is not part of the front end but of the library, so this isn't
> an issue, though it's best to avoid #elif anyway.
Only if it's not linked into the gnat1 built in stage 1. I don't know
whether this is the case.
zw