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

undefined reference to `fmt::v6::internal::is_output_iterator<char*>::value #1548

Closed
Boddlnagg opened this issue Feb 7, 2020 · 3 comments
Closed

Comments

@Boddlnagg
Copy link

In my specific setup (I have integrated fmtlib and its unit tests into a custom build system), I'm getting the following linker error in the unit tests:

fmt/test/format-test.cc:216: undefined reference to `fmt::v6::internal::is_output_iterator<char*>::value'

The compiler is GCC8. On Windows it works.

According to https://stackoverflow.com/a/30277639 using static const bool value = ... is probably not a good idea. But it might also be me doing something wrong ...

vitaut added a commit that referenced this issue Feb 8, 2020
@vitaut
Copy link
Contributor

vitaut commented Feb 8, 2020

Does 2492412 fix the issue?

@vitaut
Copy link
Contributor

vitaut commented Feb 8, 2020

Should be fixed now but feel free to reopen if you still see the issue. Thanks for reporting!

@vitaut vitaut closed this as completed Feb 8, 2020
@Boddlnagg
Copy link
Author

I can confirm that it is now indeed fixed. Thanks!

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

No branches or pull requests

2 participants