bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] lex compile problem on AIX 7.1


From: Tim Rühsen
Subject: Re: [Bug-wget] lex compile problem on AIX 7.1
Date: Tue, 03 Oct 2017 15:14:30 +0200
User-agent: KMail/5.2.3 (Linux/4.12.0-2-amd64; KDE/5.37.0; x86_64; ; )

On Dienstag, 3. Oktober 2017 18:31:45 CEST Avinash Sonawane wrote:
> On Mon, Oct 2, 2017 at 8:56 PM, Tim Rühsen <address@hidden> wrote:
> > On 10/02/2017 10:00 AM, address@hidden wrote:
> >> Hi!
> >> 
> >> I get the following error when compiling wget 1.19.1 on AIX 7.1:
> >> 
> >> make all-am
> >> CC connect.o
> >> CC convert.o
> >> CC cookies.o
> >> CC ftp.o
> >> lex -ocss.c
> >> 0: Warning: 1285-300 The o flag is not valid.
> >> 0: Warning: 1285-300 The s flag is not valid.
> >> 0: Warning: 1285-300 The s flag is not valid.
> >> 0: Warning: 1285-300 The . flag is not valid.
> >> 
> >> Seems the LEX arguments are not valid?
> >> 
> >> Any suggestions?
> > 
> > Hi,
> > 
> > some 'lex' versions *must have* a space after -o, some others *must not
> > have* a space there. We decided not to use a space since this covers
> > most build environments.
> 
> I am concerned about the `-o` option itself. As per the POSIX.1-2008
> [0], lex only supports -t, -n and -v. Though agreed flex is the de
> facto implementation of lex which supports `-o`, I think we should
> stick to the POSIX standard and shouldn't use `-o`.
> 
> I see 2 possible approaches:
> 1. use lex.yy.c, default file generated or
> 2. use `-t >` to have the desired custom filename.

We had that several times in the past - and no solution fits in all situations. 
I don't remember the details right now just the "don't touch it conclusion".

Search the mailing list archives... but don't waste your time.

Regards, Tim

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]