This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] resubmit: change defines to enums


On Fri, Apr 19, 2002 at 11:07:36AM -0700, Michael Snyder wrote:
> Alan Modra wrote:
> > 
> > On Thu, Apr 11, 2002 at 02:55:56PM -0700, Michael Snyder wrote:
> > >
> > >       * archures.c: Change bfd_mach_ constants to enums.
> > >       * bfd-in2.h: Regenerate.
> > 
> > Have you checked that this compiles with a K&R compiler?  If so, then
> > it's OK.
> 
> I haven't -- but why wouldn't it?  There are lots of enums already in
> bfd.

I had an idea that enums had different scope rules under old compilers.
Maybe it's structure fields, and maybe I'm dreaming.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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