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: zack at codesourcery dot com
- Subject: Re: [Ada] warning patrol episode II
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Sun, 28 Oct 01 16:28:10 EST
- Cc: gcc-patches at gcc dot gnu dot org
> - 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.