This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [Ada] warning patrol episode II


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]