[RFA] resubmit: change defines to enums

Alan Modra amodra@bigpond.net.au
Sat Apr 20 01:36:00 GMT 2002


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



More information about the Binutils mailing list