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: eliminate warnings from arlex.c


> -----Original Message-----
> From: binutils-owner On Behalf Of Ian 
> Lance Taylor
> Sent: 08 December 2004 05:57

> I know this is not particularly helpful, but I think the right
> approach here is to fix flex.  flex should be providing prototypes for
> the functions which it provides.  Those functions declarations are by
> and large only meaningful for flex, and they are at least marginally
> vulnerable to breaking if a new version of flex ever comes out.
> 
> Any other opinions out there?

  Add a second .l file, that is used at compile time to generate a parser, that
is used to parse the output .c file generated by the first .l file and generate
a header file with the required prototypes as output?

:)


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


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