-
Notifications
You must be signed in to change notification settings - Fork 8
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
duplicate symbols for architecture x86_64 #28
Comments
Inline template specializations for correct linking, fixes daqana#28.
I can't even get it to compile, let alone link. It seems #include <functional>
#include <algorithm>
#include <type_traits> // just in case. ... while your #include <functional>
#include <vector> Presumably your compiler drags in those headers with something else that got Anyway, onto the actual problem. The template specialized functions in |
Inline template specializations for correct linking, fixes #28.
similar problem exist here, too. dqrng/inst/include/convert_seed.h Lines 23 to 38 in 816de86
|
Hello,
I created a simple minimal R package to reproduce the following compile error. If I include the
dqrng_distribution.h
or similar files into more than one.cpp
file, I'm getting the following error. I believe those functions are not inline in header files but I might be wrong. Is there a workaround to overcome this issue or did I stuck to a single.cpp
file?The text was updated successfully, but these errors were encountered: