Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- json.l: In function 'yylex':
- json.l:26:11: warning: assignment to 'YYSTYPE' {aka 'int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion]
- yylval=strclone(yytext);
- ^
- json.l:30:11: warning: assignment to 'YYSTYPE' {aka 'int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion]
- yylval=strclone(yytext);
- ^
- y.tab.c: In function 'yyparse':
- y.tab.c:627:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration]
- # define YYLEX yylex ()
- ^~~~~
- y.tab.c:1272:16: note: in expansion of macro 'YYLEX'
- yychar = YYLEX;
- ^~~~~
- y.tab.c:1540:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration]
- yyerror (YY_("syntax error"));
- ^~~~~~~
- yyerrok
- json.y: At top level:
- json.y:80:6: warning: conflicting types for 'yyerror'
- void yyerror (char const *s) {
- ^~~~~~~
- y.tab.c:1540:7: note: previous implicit declaration of 'yyerror' was here
- yyerror (YY_("syntax error"));
- ^~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement