Comments (9)
Bison should generate it. Did you make
?
from polycalc.
I made a dirty fix for this: this manually runs Bison (GNU Bison 3.8.2 installed via brew
) for poly.tab.h
and make the compiler ignore impllicit-function-declaration
error.
There should be a way to fix this by properly configuring dependencies in a Makefile, but I need some help for this.
Does it work now? I tested it on macOS 13.0.1.
from polycalc.
@Zeta611 Thank you, I will try today and update you.
Makefiles is not something I am comfortable with to fine-tune, but I can implement manual running of bison in pre-build stage in Macports.
from polycalc.
That’s good to hear!
from polycalc.
Bison should generate it. Did you
make
?
Yes, but I relied on Macports implementation. I will try doing it manually.
Bison is installed and dependency on it was declared in portfile.
from polycalc.
@Zeta611 Indeed, setting build.cmd
to make
fixed the build. Only few warnings are there:
build/./src/lex.yy.c:1199:16: warning: 'input' defined but not used [-Wunused-function]
1199 | #else
| ^
build/./src/lex.yy.c:1156:17: warning: 'yyunput' defined but not used [-Wunused-function]
1156 |
| ^
build/./src/poly.tab.c: In function 'yyparse':
build/./src/poly.tab.c:1074:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration]
1074 | yychar = yylex ();
| ^~~~~
build/./src/poly.tab.c:1371:7: warning: implicit declaration of function 'yyerror'; did you mean 'yyerrok'? [-Wimplicit-function-declaration]
1371 | yyerror (env, verbose, YY_("syntax error"));
| ^~~~~~~
| yyerrok
from polycalc.
@Zeta611 Hmm, but with Clang again same error: https://github.com/macports/macports-ports/actions/runs/3826812968/jobs/6510900973
from polycalc.
I just tested on my Mac, and I can reproduce this issue. As noted in the README
, I only tested on a Linux machine. I'll take a look at this issue as well.
from polycalc.
So yes, with your fix it builds successfully, both on my 10.6.8 Rosetta locally and on new macOS with Clang on Macports buildbots: macports/macports-ports#17179
from polycalc.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polycalc.