Skip to content

Instantly share code, notes, and snippets.

@frp
Created July 21, 2015 18:45
Show Gist options
  • Select an option

  • Save frp/f644710c864a416842ea to your computer and use it in GitHub Desktop.

Select an option

Save frp/f644710c864a416842ea to your computer and use it in GitHub Desktop.
Compilet output
parse1.tab.c: In function ‘int yyparse()’:
parse1.tab.c:1145:18: error: ‘yylex’ was not declared in this scope
parse1.tab.c:1352:30: error: ‘yyerror’ was not declared in this scope
parse1.tab.c:1496:33: error: ‘yyerror’ was not declared in this scope
parse1.y: In function ‘void init_table()’:
parse1.y:51:14: error: ‘arith_fncts’ was not declared in this scope
parse1.y: At global scope:
parse1.y:79:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
parse1.y:79:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
parse1.y:79:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
parse1.y:79:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
parse1.y:79:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
parse1.y:79:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
parse1.y: In function ‘int yylex()’:
parse1.y:136:26: error: cannot convert ‘yytokentype’ to ‘func_t {aka double (*)(double)}’ for argument ‘2’ to ‘symrec* putsym(const char*, func_t)’
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment