Advertisement
Guest User

Untitled

a guest
Feb 21st, 2020
480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. json.l: In function 'yylex':
  2. json.l:26:11: warning: assignment to 'YYSTYPE' {aka 'int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion]
  3. yylval=strclone(yytext);
  4. ^
  5. json.l:30:11: warning: assignment to 'YYSTYPE' {aka 'int'} from 'char *' makes integer from pointer without a cast [-Wint-conversion]
  6. yylval=strclone(yytext);
  7. ^
  8. y.tab.c: In function 'yyparse':
  9. y.tab.c:627:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration]
  10. # define YYLEX yylex ()
  11. ^~~~~
  12. y.tab.c:1272:16: note: in expansion of macro 'YYLEX'
  13. yychar = YYLEX;
  14. ^~~~~
  15. y.tab.c:1540:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration]
  16. yyerror (YY_("syntax error"));
  17. ^~~~~~~
  18. yyerrok
  19. json.y: At top level:
  20. json.y:80:6: warning: conflicting types for 'yyerror'
  21. void yyerror (char const *s) {
  22. ^~~~~~~
  23. y.tab.c:1540:7: note: previous implicit declaration of 'yyerror' was here
  24. yyerror (YY_("syntax error"));
  25. ^~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement