Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to compile under macOS #5

Open
jluke1 opened this issue Dec 29, 2022 · 1 comment
Open

Fails to compile under macOS #5

jluke1 opened this issue Dec 29, 2022 · 1 comment

Comments

@jluke1
Copy link

jluke1 commented Dec 29, 2022

y.tab.c:1427:16: error: implicit declaration of function 'yylex' [-Werror,-Wimplicit-function-declaration]
yychar = YYLEX;
macOS 10.15.7
xcode 12.4
bison 2.3
flex 2.5.35

@jluke1
Copy link
Author

jluke1 commented Dec 31, 2022

fixed by adding the patch
20a21,22

int yylex (void);

to config.y
Also in config/Makefile
LFLAGS = -ll
instead of
LFLAGS = -lf
for macOS flex library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant