-
Notifications
You must be signed in to change notification settings - Fork 82
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
Does not build using gcc 6 #106
Comments
Thanks for the report, I will look into this. |
I don't have easy access to GCC 6 right now, is this reproducible with stricter flags on GCC 4.9.x? |
Wow- so gcc6 disallows implicit conversion of
I haven't read about gcc6, but this seems a bit extreme. Can this be one of those things that might get tweaked before an official release? |
jts: is this reproducible with stricter flags on GCC 4.9.x? I do not think so. Otherwise the bug reporter would not have given explicit hints how to use gcc-6 from Debian experimental. |
Does this error occur if you pass the |
This is the same error as in issue #108 . Compiling with clang has the same issue. |
As explained here: #108 (comment), an easy way to add Alternatively, where can we find a docker image with |
@mateidavid Here's a Debian unstable + gcc 6 docker image: https://hub.docker.com/r/biocrusoe/debian-gcc6/
|
@mr-c: Thanks for stepping in. But it doesn't work yet, I'm getting:
|
@mateidavid Whoops; I forgot to tag and push. I don't do this often :-) I also renamed the image (and updated my instructions above). Does |
I got it now. I needed |
Actually, you should also be able to reproduce the error by setting -std=c++11 with any compiler that is advanced enough to support it (AFAIK that includes g++-4.9). @mateidavid The while loop should still work, but assignment to a bool variable has to be make explicit. |
PR #110 fixes this (at least it did back when I wrote it). |
Great, I'll try to use it to fix the Debian package. As a side note of personal taste I'd suggest using .good() or ! ... .fail() instead of the static_cast on the stream, because it would probably look more readable ... |
Hi, thanks for the hint. I'll integrate the patch into the Debian Kind regards
On Tue, Jul 05, 2016 at 06:32:30AM -0700, Matei David wrote:
|
I've merged @mateidavid's PR (thanks) |
Hi,
as you can read in the Debian bug report sga does not build when using gcc 6 due to more strict type checking:
It results in
Please note that there might be more issues later in the build sequence.
Kind regards
The text was updated successfully, but these errors were encountered: