-
Notifications
You must be signed in to change notification settings - Fork 41
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
Header dependency missing #559
Comments
Hi @emanodus can you be provide us with some more specifics please? Commands used, terminal output, system specifics, etc. |
@brettpac I can describe in breif for more context to the issue. So I am extending SMACC2 for my specific use case, where I had to derive a new class from smacc2::Orthogonal<> class. For this I had to include this header "smacc_orthogonal_imp.hpp" in the header of my derived class. While I was building my derived class as a library I encountered an unresolved symbol error for "demangledTypeName" from here link . To resolve it I simply included impl/introspection/introspection.hpp in my derived class header. I believe it would have been great if the smacc_orthogonal_impl.hpp header had included all headers which it depends on. Shouldn't all headers be self contained with all its dependecies? Please share your views. (I am afraid I am missing some rationale here) |
Hi @emanodus do you have a pull request we can look at? |
The header file here https://github.com/robosoft-ai/SMACC2/blob/humble/smacc2/include/smacc2/impl/smacc_orthogonal_impl.hpp
is unable to resolve the symbol demangeledtypes which is defined in samcc2::intropection.
It would be best if all header files are self contained to avoid confusion about which headers to include.
The text was updated successfully, but these errors were encountered: