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

Re: [Xen-users] xen 4.4 code bug

On Tue, 2013-08-20 at 09:34 -0600, jacek burghardt wrote:
> So i am getting this

4.4 has not been released. Please give a specific changeset you are

> cc1: warning: -Wformat-nonliteral ignored without -Wformat
> [-Wformat-nonliteral]
> libxlu_cfg_y.c: In function 'xlu__cfg_yyparse':
> libxlu_cfg_y.c:1292:41: error: 'scanner' undeclared (first use in this
> function)
>        yychar = yylex (&yylval, &yylloc, scanner);

Is libxlu_cfg_y.c the pristine version from the repo or did you
regenerate it,e.g. by rerunning (either explicitly or implicitly) bison.
Also your line numbers do not seem to match mine.

My version of this file, pristine in git has md5sum
fe26acb637819a015a6bbd7aa8fac69e. The last commit was in September 2012.

The line which is causing you problems comes from the else case of:
        #ifdef YYLEX_PARAM
        # define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM)
        # define YYLEX yylex (&yylval, &yylloc, scanner)
But YYLEX_PARAM is definitely defined here:
        /* Line 189 of yacc.c  */
        #line 19 "libxlu_cfg_y.y"
        #define YYLEX_PARAM ctx->scanner

So something has definitely changed in your tree.


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.