bug-bison
[Top][All Lists]
Advanced

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

Re: Bison 1.50 Bug - Parsing Error - Examples Enclosed - Correct Attachm


From: Jim Gifford
Subject: Re: Bison 1.50 Bug - Parsing Error - Examples Enclosed - Correct Attachments
Date: Sat, 12 Oct 2002 23:39:26 -0700

Here is the output.

loadkeys.y:77:19: getfd.h: No such file or directory
loadkeys.y:78:22: findfile.h: No such file or directory
loadkeys.y:79:23: modifiers.h: No such file or directory
loadkeys.y:80:17: nls.h: No such file or directory
loadkeys.y:81:21: version.h: No such file or directory
loadkeys.y:107:21: analyze.c: No such file or directory
loadkeys.y: In function `yyparse':
loadkeys.y:150: `kbs_buf' undeclared (first use in this function)
loadkeys.y:150: (Each undeclared identifier is reported only once
loadkeys.y:150: for each function it appears in.)
loadkeys.y:195: `syms' undeclared (first use in this function)
loadkeys.y:222: `M_SHIFT' undeclared (first use in this function)
loadkeys.y:223: `M_CTRL' undeclared (first use in this function)
loadkeys.y:224: `M_ALT' undeclared (first use in this function)
loadkeys.y:225: `M_ALTGR' undeclared (first use in this function)
loadkeys.y:226: `M_SHIFTL' undeclared (first use in this function)
loadkeys.y:227: `M_SHIFTR' undeclared (first use in this function)
loadkeys.y:228: `M_CTRLL' undeclared (first use in this function)
loadkeys.y:229: `M_CTRLR' undeclared (first use in this function)
loadkeys.y:235: `rvalct' undeclared (first use in this function)
loadkeys.y:257: warning: passing arg 1 of `lkfatal0' makes pointer from
integer without a cast
loadkeys.y: In function `usage':
loadkeys.y:296: parse error before "DEFMAP"
loadkeys.y: In function `main':
loadkeys.y:368: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y:370: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y: At top level:
loadkeys.y:394: warning: type mismatch with previous implicit declaration
loadkeys.y:270: warning: previous implicit declaration of `lkfatal'
loadkeys.y:394: warning: `lkfatal' was previously implicitly declared to
return `int'
loadkeys.y: In function `lkfatal':
loadkeys.y:395: `progname' undeclared (first use in this function)
loadkeys.y: In function `lkfatal0':
loadkeys.y:401: `progname' undeclared (first use in this function)
loadkeys.y: At top level:
loadkeys.y:408: warning: type mismatch with previous implicit declaration
loadkeys.y:194: warning: previous implicit declaration of `lkfatal1'
loadkeys.y:408: warning: `lkfatal1' was previously implicitly declared to
return `int'
loadkeys.y: In function `lkfatal1':
loadkeys.y:409: `progname' undeclared (first use in this function)
loadkeys.y: At top level:
loadkeys.y:420: parse error before "YY_BUFFER_STATE"
loadkeys.y:420: warning: no semicolon at end of struct or union
loadkeys.y:421: warning: data definition has no type or storage class
loadkeys.y: In function `lk_push':
loadkeys.y:427: warning: passing arg 1 of `lkfatal' makes pointer from
integer without a cast
loadkeys.y:430: request for member `filename' in something not a structure
or union
loadkeys.y:431: request for member `linenr' in something not a structure or
union
loadkeys.y:432: request for member `bs' in something not a structure or
union
loadkeys.y:433: `YY_CURRENT_BUFFER' undeclared (first use in this function)
loadkeys.y: In function `lk_pop':
loadkeys.y:439: request for member `filename' in something not a structure
or union
loadkeys.y:440: request for member `linenr' in something not a structure or
union
loadkeys.y:441: `YY_CURRENT_BUFFER' undeclared (first use in this function)
loadkeys.y:442: request for member `bs' in something not a structure or
union
loadkeys.y: At top level:
loadkeys.y:477: `DATADIR' undeclared here (not in a function)
loadkeys.y:477: initializer element is not constant
loadkeys.y:477: (near initialization for `include_dirpath3[0]')
loadkeys.y:477: parse error before string constant
loadkeys.y:478: `DATADIR' undeclared here (not in a function)
loadkeys.y:478: initializer element is not constant
loadkeys.y:478: (near initialization for `include_dirpath3[1]')
loadkeys.y:479: `DATADIR' undeclared here (not in a function)
loadkeys.y:479: initializer element is not constant
loadkeys.y:479: (near initialization for `include_dirpath3[2]')
loadkeys.y: In function `find_incl_file_near_fn':
loadkeys.y:493: warning: assignment makes pointer from integer without a
cast
loadkeys.y:494: warning: assignment makes pointer from integer without a
cast
loadkeys.y:499: warning: assignment makes pointer from integer without a
cast
loadkeys.y: In function `find_standard_incl_file':
loadkeys.y:509: warning: assignment makes pointer from integer without a
cast
loadkeys.y:538: warning: assignment makes pointer from integer without a
cast
loadkeys.y: In function `find_incl_file':
loadkeys.y:548: warning: return makes pointer from integer without a cast
loadkeys.y:562: warning: assignment makes pointer from integer without a
cast
loadkeys.y: In function `open_include':
loadkeys.y:582: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y:586: `yyin' undeclared (first use in this function)
loadkeys.y:588: warning: passing arg 1 of `lkfatal1' makes pointer from
integer without a cast
loadkeys.y:591: `YY_BUF_SIZE' undeclared (first use in this function)
loadkeys.y: At top level:
loadkeys.y:610: `DATADIR' undeclared here (not in a function)
loadkeys.y:610: initializer element is not constant
loadkeys.y:610: (near initialization for `dirpath[1]')
loadkeys.y:610: parse error before string constant
loadkeys.y:610: `KERNDIR' undeclared here (not in a function)
loadkeys.y:610: initializer element is not constant
loadkeys.y:610: (near initialization for `dirpath[2]')
loadkeys.y:612: warning: type mismatch with previous implicit declaration
loadkeys.y:548: warning: previous implicit declaration of `findfile'
loadkeys.y:612: warning: `findfile' was previously implicitly declared to
return `int'
loadkeys.y: In function `yywrap':
loadkeys.y:635: `DEFMAP' undeclared (first use in this function)
loadkeys.y:636: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y:649: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y:660: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y:662: `yyin' undeclared (first use in this function)
loadkeys.y: In function `addmap':
loadkeys.y:672: warning: passing arg 1 of `lkfatal0' makes pointer from
integer without a cast
loadkeys.y:676: warning: passing arg 1 of `lkfatal0' makes pointer from
integer without a cast
loadkeys.y: In function `killkey':
loadkeys.y:690: warning: passing arg 1 of `lkfatal0' makes pointer from
integer without a cast
loadkeys.y:692: warning: passing arg 1 of `lkfatal0' makes pointer from
integer without a cast
loadkeys.y: In function `addkey':
loadkeys.y:706: warning: passing arg 1 of `lkfatal0' makes pointer from
integer without a cast
loadkeys.y:708: warning: passing arg 1 of `lkfatal0' makes pointer from
integer without a cast
loadkeys.y:730: `M_ALT' undeclared (first use in this function)
loadkeys.y: In function `addfunc':
loadkeys.y:752: `progname' undeclared (first use in this function)
loadkeys.y:752: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y:771: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y: In function `compose':
loadkeys.y:789: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y: In function `defkeys':
loadkeys.y:826: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y:835: warning: pointer/integer type mismatch in conditional
expression
loadkeys.y:839: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y:849: warning: passing arg 1 of `printf' makes pointer from
integer without a cast
loadkeys.y:856: `progname' undeclared (first use in this function)
loadkeys.y:856: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y:871: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y:882: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y:886: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y: In function `ostr':
loadkeys.y:894: warning: initialization makes pointer from integer without a
cast
loadkeys.y: In function `deffuncs':
loadkeys.y:924: `kbs_buf' undeclared (first use in this function)
loadkeys.y:929: `syms' undeclared (first use in this function)
loadkeys.y:929: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y:936: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y: In function `defdiacs':
loadkeys.y:952: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast
loadkeys.y: In function `do_constant':
loadkeys.y:1012: warning: passing arg 1 of `lkfatal' makes pointer from
integer without a cast
loadkeys.y: In function `loadkeys':
loadkeys.y:1032: warning: passing arg 1 of `printf' makes pointer from
integer without a cast
loadkeys.y:1035: warning: passing arg 1 of `printf' makes pointer from
integer without a cast
loadkeys.y:1037: warning: passing arg 1 of `printf' makes pointer from
integer without a cast
loadkeys.y: In function `compose_as_usual':
loadkeys.y:1071: warning: passing arg 2 of `fprintf' makes pointer from
integer without a cast

----- Original Message -----
From: "Paul Eggert" <address@hidden>
To: <address@hidden>; <address@hidden>
Sent: Saturday, October 12, 2002 11:13 PM
Subject: Re: Bison 1.50 Bug - Parsing Error - Examples Enclosed - Correct
Attachments


> > From: "Jim Gifford" <address@hidden>
> > Date: Sat, 12 Oct 2002 21:56:07 -0700
> >
> > I'm using gcc 3.2 with glibc 2.3.1.
>
> What diagnostic messages do you get when you try to compile the latest
> loadkeys.c that you sent ("loadkeys.c.bison.patched.1.50")?
>
> When I tried building with a Bison 1.50-generated loadkeys,
> I get this message:
>
>    analyze.l:73: `EOL' undeclared (first use in this function)
>
> But EOL is declared properly in loadkeys.c.bison.patched.1.50, so
> you shouldn't get that message even with GCC 3.2.
>
>





reply via email to

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