httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: server/util_expr_(parse|scan) generated sources files
Date Mon, 08 Dec 2014 20:58:50 GMT
On Mon, Dec 8, 2014 at 9:16 PM, Eric Covener <covener@gmail.com> wrote:
> On Mon, Dec 8, 2014 at 3:12 PM, Yann Ylavic <ylavic.dev@gmail.com> wrote:
>> Reverted in r1643901.
>>
>> Someone with a bison version above 2.7.12-4996 should do this (mine is 2.5).
>
> Every system I try, it leaps from 2.4 to 3.0. Maybe best to just make
> the jump forward now?

FYI, just tried on an other system with bison-3.0.2 and flex-2.5.39
(they seem to work together on newer systems...).

The diff on generated C files (attached) is even bigger, and these
warnings threw during build :

[...]
flex -Pap_expr_yy -o
/home/yle/src/ap/svn/httpd/trunk/server/util_expr_scan.c
/home/yle/src/ap/svn/httpd/trunk/server/util_expr_scan.l
server/util_expr_scan.l|413| warning, -s option given but default rule
can be matched
[...]
server/util_expr_scan.c|2350 col 13| warning: 'yy_fatal_error' defined
but not used [-Wunused-function]
  static void yy_fatal_error (yyconst char* msg , yyscan_t yyscanner)
              ^

That would probably need more work/review...

Mime
View raw message