Skip to content
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

Merged
merged 3 commits into from
Feb 26, 2018

Conversation

marehr
Copy link
Member

@marehr marehr commented Dec 7, 2017

#109: switch to a release version of gcc-7 (currently we use an older snapshot)

@marehr marehr added the feature/proposal a new feature or an idea of label Dec 7, 2017
@marehr marehr added this to the December milestone Dec 7, 2017
@marehr marehr requested review from rrahn and h-2 December 7, 2017 14:10
@marehr marehr force-pushed the travis_upgrade branch 3 times, most recently from 6081ecd to 16ef1ee Compare December 7, 2017 19:04
@marehr marehr force-pushed the travis_upgrade branch 2 times, most recently from 3ba7ece to decd172 Compare December 7, 2017 23:15
@h-2
Copy link
Member

h-2 commented Dec 8, 2017

Whats going on here ❓

@marehr
Copy link
Member Author

marehr commented Dec 8, 2017

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 :(

@marehr marehr force-pushed the travis_upgrade branch 2 times, most recently from f50a890 to e281a86 Compare December 15, 2017 11:18
@marehr marehr removed the in progress label Jan 8, 2018
@h-2
Copy link
Member

h-2 commented Feb 6, 2018

What is the status here?

@marehr marehr force-pushed the travis_upgrade branch 2 times, most recently from bafac27 to c501fa1 Compare February 21, 2018 13:18
@marehr
Copy link
Member Author

marehr commented Feb 21, 2018

@rrahn mergeable

{
//!\privatesection

/*!\interface seqan3::sequence_concept_modified_by_const_iterator <>
Copy link
Contributor

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>;
Copy link
Contributor

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;
Copy link
Contributor

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
Copy link
Contributor

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.

@marehr marehr force-pushed the travis_upgrade branch 2 times, most recently from 78479cb to 0d98402 Compare February 23, 2018 18:27
@marehr marehr changed the title travis: Use g++-7 direcly from packages travis: Use g++-7 direcly from packages (and fix ubuntu 16.04 problems) Feb 26, 2018
Copy link
Contributor

@rrahn rrahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rrahn rrahn merged commit b9eb19c into seqan:master Feb 26, 2018
@marehr marehr deleted the travis_upgrade branch March 5, 2018 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/proposal a new feature or an idea of
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants