-
Notifications
You must be signed in to change notification settings - Fork 39
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 of Test fails on gcc 8.2 #19
Comments
Confirmed. gcc 8.3.0 fails on these lines, giving similar error output to that in the original post:
gcc 9.0.1 (not yet released, from git commit 6977c762 on 2019-04-25) has the same problem on the same lines, with the following output. Notably, it still only has these problems, not picking up the extra ones way below from clang 8.0.0.
clang 8.0.0 fails with this output:
Commenting out lines 47-48 in
Then this type of warning in these places, which seems odd to me because
|
I'm not 100% certain, but it seems to me that this is using the so-called C++ Type Loophole. Maybe clang and gcc have dropped support for it given that CWG wants to make it ill-formed in the future? This may point to a possible lead for how to make the code work without relying on that loophole |
Hi, I am using g++ (GCC) 8.2.1 20181011 (Red Hat 8.2.1-4) on Fedora 28
I've tried to compile the library with default parameters on CMake and got the following error.
(I couldn't make the output prettier sorry about that)
I've tried to make a minimal test case on godbolt but instead I got this: https://godbolt.org/z/bbxlXl which also fails on 8.2 (fine on 7.x) but gives a slightly different error message.
Since it compiles fine on both gcc 7.x and clang-trunk, I am not sure whether the problem is with the library or either of the compilers
The text was updated successfully, but these errors were encountered: