-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
Internal compiler error #86
Comments
I think it doesn't fully support C++14 features (as requested by uvw), so unlikely you'll be able to use it with the library. That being said, an ICE is something you should report to the bugzilla of the compiler. :-) |
@raoulh I would close the issue, unfortunately I cannot do that much against an ICE of GCC. |
Tested with GCC5 on Debian:
It works just fine. The ICE is an issue of the compiler and it has been fixed with the next patch release. I'm closing the issue, for I don't know how to solve such kind of problems of another software by modifying |
Ok, i did some more trial, and you are true, with gcc 5.4.1 it woks. |
Isn't possible to update it from the repository? It's quite an old version indeed. GCC7 is almost ready nowadays. |
Don't worry, it was only a question to see if you had any ideas :) |
You're welcome, as usual. ;-) |
Hi, The code is now building fine. Also I checked in the code and this is also written like that at other places in uvw. |
It isn't a dependent name, so it's not required. Anyway, if it works both with GCC 5.4.0 and all the other supported compilers, that's not a big problem to use it. |
Actually I tried with gcc 5.4.0, 5.4.1 and it ICE (on ubuntu). The test suite does not report any error or problem though, because the test for Process is not implemented. But I found a test case where it appears:
|
Well, as we already agreed on, that version is too old and it doesn't worth it to adapt the code for it. C++17 is coming out, we cannot imagine to fully support compilers that doesn't even support C++14 nowadays. |
I think it's not only a problem with old GCC... I did some more testing using my small test case. This is with gcc 7.1.1 20170516 from archlinux:
I also tried using another gcc (and newer) 7.1.1 20170630 also from archlinux:
It clearly shows that there is an issue somewhere... |
Actually there is 2 issues here:
|
Found the problem. Can you have a try? I'm on vacation, I can't test it until today evening. |
See #98 to track the issue. We can continue the discussion there. |
@raoulh Ok, fixed
I didn't put it in my commit for I'm not sure that's the sole problem with GCC 5.4.1. Also thank you for the lines missed after #94 have been emerged because of your help. Really appreciated. |
@skypjack Thank you for this great project. |
I am going to try it, thank you very much. |
@evanlabs
I'm glad to know you're using |
Hi,
When build on a fresh ubuntu 16.04 that uses gcc 5.4.0, compiler crashes with the following:
Any ideas on this one?
The text was updated successfully, but these errors were encountered: