-
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
travis: Use g++-7 direcly from packages (and fix ubuntu 16.04 problems) #113
Conversation
6081ecd
to
16ef1ee
Compare
3ba7ece
to
decd172
Compare
Whats going on here ❓ |
I try to use the gcc-7 compiler from https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test, because our current compiler does weird things. Apparently the native gcc-7 compiler has some bug that I try to workaround/fix :( |
f50a890
to
e281a86
Compare
What is the status here? |
bafac27
to
c501fa1
Compare
@rrahn mergeable |
{ | ||
//!\privatesection | ||
|
||
/*!\interface seqan3::sequence_concept_modified_by_const_iterator <> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whitespace in docu.
{ val.erase(val.begin(), val.end()) } -> typename type::iterator; | ||
|
||
// workaround a travis bug where insert/erase can't take a const iterator, e.g. cbegin() | ||
requires detail::sequence_concept_modified_by_const_iterator_bug || detail::sequence_concept_modified_by_const_iterator<type>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a check, that this is only tested if the queried type is in fact a std::basic_string.
* failing on travis anymore. | ||
*/ | ||
constexpr bool sequence_concept_modified_by_const_iterator_bug | ||
= sequence_concept_modified_by_const_iterator<std::string> == false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we not use basic_string? Wouldn't that be safer?
//!\privatesection | ||
|
||
/*!\interface seqan3::sequence_concept_modified_by_const_iterator <> | ||
* \brief Can insert and erase used with const iterators |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe: Checks whether insert and erase can be used with const_iterator
.
And maybe also add an explantation why this was separated from the original concept definition,
and that it should go back in, if the travis bug is not of any concern anymore.
78479cb
to
0d98402
Compare
0d98402
to
5ba7526
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
#109: switch to a release version of gcc-7 (currently we use an older snapshot)