This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: eliminate warnings from arlex.c
- From: "Dave Korn" <dk at artimi dot com>
- To: "'Ian Lance Taylor'" <ian at wasabisystems dot com>,"'Ben Elliston'" <bje at au1 dot ibm dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: Wed, 8 Dec 2004 11:10:37 -0000
- Subject: 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....