Originally created by: daniele....@gmail.com
Originally owned by: daniele....@gmail.com
What steps will reproduce the problem?
Create a shared library from multiple source files, each having a declaration of wallaroo::Device.
What is the expected output? What do you see instead?
The linker complains about "Multiple definition of wallaroo::detail::Descriptor::DB()"
Technical Note:
solving this issue requires two steps:
- add the inline clause to the free functions in dyn_class_descriptor_impl.h
- move the WALLAROO_DYNLIB_REGISTER macro in a separate header file (to be included in every source file that uses the macro). dynamic_lib.h must be included only once in the library.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: daniele....@gmail.com
(No comment was entered for this change.)
Status: Fixed