When using the PaStiX module (#include <Eigen/PaStiXSupport>
), there is a ODR violation when including the header across multiple translation units. The culprit appears to be the void eigen_pastix(...) function that require an inline specifier to avoid the compilation error.
To reproduce, simply have this header included in two compilation units and try to link. Error occurs with g++ version 7.2.1.
Created attachment 802 [details]
Add inline specifier to wrapper functions
Thank you for the report.
-- GitLab Migration Automatic Message --
This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1485.