autoconf-patches
[Top][All Lists]
Advanced

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

Re: Fix LEXLIB and YYTEXT_POINTER with IRIX 6.5 flex 2.5.4.


From: Eric Blake
Subject: Re: Fix LEXLIB and YYTEXT_POINTER with IRIX 6.5 flex 2.5.4.
Date: Fri, 21 Jan 2011 15:01:18 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 01/21/2011 01:57 PM, Ralf Wildenhues wrote:
> http://autobuild.josefsson.org/automake/log-201101181921817456000.txt
> On IRIX, the code from AC_PROG_LEX sees something like this:
> 
> $ cc -o conf lex.yy.c -ll
> cc-1042 cc: ERROR File = conf.l, Line = 6
>   The types of operands "char *" and "int" are incompatible.
> 
>   { yyless (input () != 0); }
>     ^
> |                 yy_c_buf_p = yytext + n; \

Yep, that would do it.

> OK to push the fix below, even if it's to work around decade
> old bugs?

Please push.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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