Comments (6)
Thanks for the report. I'm not super-strong on C++ so this is curious to me too. What compiler (and version) are you using?
Since inheritance is used so lightly, if no other solution turns up I can always add a #define to conditionally adjust things.
from arduino-trimwright.
Oh hmm... this gives a clue:
https://stackoverflow.com/questions/307352/g-undefined-reference-to-typeinfo#307427
This seems to suggest that whatever build environment you have is not also compiling and linking TrimWright.cpp.
from arduino-trimwright.
I am building the Android Tree
I had looked at the link you mentioned and that gave a clue what it was due to a virtual function. By piecemeal adding the SM parts to my code, I figured out that it was the virtual declaration of the dispatch function.
from arduino-trimwright.
Hmm... the fact that you fixed it by commenting out the virtual
suggests that your environment is probably compling and linking TrimWright.cpp. That same stackoverflow page mentions a few other causes (I should have kept reading). This makes me think that there might be value in dropping the inheritance (HSM no longer inherting from FSM), at least as a #define guarded option.
from arduino-trimwright.
I've created PR #6 which makes it so that HSM no longer inherits from FSM. Without that, lack of RTTI should hopefully not be an issue. Could you try it out?
from arduino-trimwright.
Sure. Hopefully have it checked by Wednesday.
from arduino-trimwright.
Related Issues (2)
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 arduino-trimwright.