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

New protagonist needs C++11 #22

Merged
merged 1 commit into from
Jul 5, 2016
Merged

Conversation

honzajavorek
Copy link
Contributor

@honzajavorek honzajavorek commented Jul 4, 2016

To be able to install newer Dredd, one will need a C++ compiler able to compile C++11. In the future we will eventually migrate to js-only parser by default and no compiler will be needed, but as of now, this change is needed in order to make Dredd work with Travis CI.

https://github.com/apiaryio/protagonist/blob/master/CHANGELOG.md#breaking

We had the same problem at:

Exactly the same change fixed the builds.

To be able to install newer Dredd, one will need a C++ compiler able to compile C++11. In the future we will eventually migrate to js-only parser by default and no compiler will be needed, but as of now, this change is needed in order to make Dredd work with Travis CI.

https://github.com/apiaryio/protagonist/blob/master/CHANGELOG.md#breaking
@ddelnano
Copy link
Owner

ddelnano commented Jul 5, 2016

👍

@ddelnano ddelnano merged commit d0063d1 into ddelnano:master Jul 5, 2016
@honzajavorek honzajavorek deleted the patch-1 branch July 22, 2016 07:51
@honzajavorek
Copy link
Contributor Author

As of [email protected] this is now not needed anymore. We migrated towards a solution where equivalent pure JS compiler will be selected if compilation of C++11 isn't an option. While the performance of the JS compiler could be worse, the installation time should be significantly shorter.

To upgrade, just reverse the change introduced in this PR. If not done, everything will still work, just in a slower manner (slower Travis CI sudo machines, compilation time, ...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants