-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Incomplete types reported by (experimental) GCC10 #1912
Comments
The attachment is the errors I get, GCC10 called as: /opt/gcc/gcc-10/bin/g++ -O2 -std=gnu++17 -c presentation.cpp |
Simpler reproducer:
|
This (non-)bug reported to GCC seems to be related: |
Possibly relevant to: #1920 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Building the tests fails with
and here is what I got:
|
Hi,
I am doing test compiles with the experimental unreleased GCC10. And am getting some errors
that I do not see with GCC9. I am in contact with GCC maintainers, and they can not see that
this is a gcc/libstdc++ bug. However there has been some changes in libstdc++ mostly to improve/correct requirements (on types in std::variant).
I have attached sources that compiles with GCC9 but that fails with GCC10. All related to nlohmann/json and std::variant and some incomlete type being reported.
It would be nice figure out if this is a problem in nlohmann/json or in GCC10/libstdc++ before the actual release of GCC10.
This is v3.7.3 of nlohmann/json.
GCC10 as of gcc (GCC) 10.0.1 20200120 (experimental)
GCC9 as of gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1)
presentation.txt
The text was updated successfully, but these errors were encountered: