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

Compilation warning: 'tuple_size' defined as a class template here but previously declared as a struct template #1426

Closed
ibc opened this issue Jan 11, 2019 · 1 comment

Comments

@ibc
Copy link

ibc commented Jan 11, 2019

  • What is the issue you have?
../include/json.hpp:1799:1: warning: 'tuple_size' defined as a class template here but previously declared as a struct template [-Wmismatched-tags]
class tuple_size<::nlohmann::detail::iteration_proxy_value<IteratorType>>
^
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/tuple:798:5: note: did you mean class here?
    struct tuple_size;
  • Which compiler and operating system are you using?

Linux Debian
clang version 7.0.0

  • Did you use a released version of the library or the version from the develop branch?

3.5.0

@nickaein
Copy link
Contributor

This issue is already discussed here: #1401

@ibc ibc closed this as completed Jan 11, 2019
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