Mac OS X build broken (yyerror declaration)

Issue #7 resolved
Former user created an issue

git bisect says 29a347b0fe54572a0caccbc6c0a8c82a66b93cf2 is responsible:

CC attack_parser.o attack_parser.c:1673:7: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration] yyerror (source_id, YY_("syntax error")); ^ attack_parser.y:345:13: error: static declaration of 'yyerror' follows non-static declaration static void yyerror(int source_id, const char msg) { / do nothing */ } ^ attack_parser.c:1673:7: note: previous implicit declaration is here yyerror (source_id, YY_("syntax error")); ^ 1 warning and 1 error generated.

Comments (5)

  1. Log in to comment