Skip to content

Instantly share code, notes, and snippets.

@hsbt
Created May 4, 2020 01:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hsbt/bc9ed40405cc8b96a82c4b432d0f219e to your computer and use it in GitHub Desktop.
Save hsbt/bc9ed40405cc8b96a82c4b432d0f219e to your computer and use it in GitHub Desktop.
11238 │ compiling symbol.c
11239 │ parse.c:12491:41: error: too many arguments provided to function-like macro invocation
11240 │ yytoken, &yylval, &yylloc, p);
11241 │ ^
11242 │ parse.c:6055:9: note: macro 'yydestruct' defined here
11243 │ #define yydestruct(m, t, v) ruby_parser_yydestruct(m, t, v, p)
11244 │ ^
11245 │ parse.c:12490:11: error: use of undeclared identifier 'yydestruct'
11246 │ yydestruct ("Error: discarding",
11247 │ ^
11248 │ parse.c:12546:57: error: too many arguments provided to function-like macro invocation
11249 │ YY_ACCESSING_SYMBOL (yystate), yyvsp, yylsp, p);
11250 │ ^
11251 │ parse.c:6055:9: note: macro 'yydestruct' defined here
11252 │ #define yydestruct(m, t, v) ruby_parser_yydestruct(m, t, v, p)
11253 │ ^
11254 │ parse.c:12545:7: error: use of undeclared identifier 'yydestruct'
11255 │ yydestruct ("Error: popping",
11256 │ ^
11257 │ parse.c:12606:37: error: too many arguments provided to function-like macro invocation
11258 │ yytoken, &yylval, &yylloc, p);
11259 │ ^
11260 │ parse.c:6055:9: note: macro 'yydestruct' defined here
11261 │ #define yydestruct(m, t, v) ruby_parser_yydestruct(m, t, v, p)
11262 │ ^
11263 │ parse.c:12605:7: error: use of undeclared identifier 'yydestruct'
11264 │ yydestruct ("Cleanup: discarding lookahead",
11265 │ ^
11266 │ parse.c:12615:57: error: too many arguments provided to function-like macro invocation
11267 │ YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, yylsp, p);
11268 │ ^
11269 │ parse.c:6055:9: note: macro 'yydestruct' defined here
11270 │ #define yydestruct(m, t, v) ruby_parser_yydestruct(m, t, v, p)
11271 │ ^
11272 │ parse.c:12614:7: error: use of undeclared identifier 'yydestruct'
11273 │ yydestruct ("Cleanup: popping",
11274 │ ^
11275 │ parse.y:12799:23: error: implicit declaration of function 'yystpcpy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
11276 │ return (YYSIZE_T)(yystpcpy(yyres, yystr) - yyres);
11277 │ ^
11278 │ parse.y:12799:23: note: did you mean 'stpcpy'?
11279 │ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:130:7: note: 'stpcpy' declared here
11280 │ char *stpcpy(char *__dst, const char *__src);
11281 │ ^
11282 │ parse.y:12799:46: error: invalid operands to binary expression ('int' and 'char *')
11283 │ return (YYSIZE_T)(yystpcpy(yyres, yystr) - yyres);
11284 │ ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~
11285 │ 10 errors generated.
11286 │ make: *** [parse.o] Error 1
11287 │ make: *** Waiting for unfinished jobs....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment