Skip to content
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

Linking errors #1

Closed
mrjackbo opened this issue Apr 4, 2020 · 1 comment · Fixed by #2
Closed

Linking errors #1

mrjackbo opened this issue Apr 4, 2020 · 1 comment · Fixed by #2

Comments

@mrjackbo
Copy link

mrjackbo commented Apr 4, 2020

I was using version 0.1.0 of icecream-cpp for a while, and I have IC statements in multiple source files, which are compiled independently (as cmake object libraries) and then linked together into different binaries and shared libraries. This used to work very nicely. Now I upgraded to 0.3.0, recompiled everything, and get linking errors like so:

multiple definition of `icecream::detail::show_c_string()'

I know that this is potentially an issue with header only libraries in general, but perhaps there is something you can do, as it used to work in previous versions.

@renatoGarcia
Copy link
Owner

@mrjackbo Fixed. Thanks for catch that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants