This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ebcdic support for binutils...
- From: Ian Lance Taylor <ian at airs dot com>
- To: esp5 at rama dot comp dot pge dot com
- Cc: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, binutils at sources dot redhat dot com, dj at delorie dot com, gcc-patches at gcc dot gnu dot org
- Date: 11 Dec 2001 12:15:49 -0800
- Subject: Re: ebcdic support for binutils...
- References: <200112111312.IAA24170@caip.rutgers.edu><20011211113642.A12452@rama.comp.pge.com>
esp5@rama.comp.pge.com writes:
> On Tue, Dec 11, 2001 at 08:12:33AM -0500, Kaveh R. Ghazi wrote:
> >
> > > + /* EBCDIC */
> > > +
> > > + #elif '\n' == 0x15 && ' ' == 0x40 && '0' == 0xF0 \
> > > + && 'A' == 0xC1 && 'a' == 0x81 && '!' == 0x5A \
> > > + && EOF == -1
> > > +
> >
> > Please don't use #elif, it will generate a warning from -Wtraditional
> > with gcc 3.0 or later.
>
> Hmm. Then what would you suggest in its place?
#else
#if ...
#endif
#endif
Ian