Skip to content

Make seshat compile on default options in Ubuntu 18.04 (c++11)#18

Open
Narsil wants to merge 3 commits intofalvaro:masterfrom
Narsil:master
Open

Make seshat compile on default options in Ubuntu 18.04 (c++11)#18
Narsil wants to merge 3 commits intofalvaro:masterfrom
Narsil:master

Conversation

@Narsil
Copy link
Copy Markdown

@Narsil Narsil commented Jun 4, 2018

Disambiguate boost::tuple and std::tuple.

On 18.04 default libboost version is 1.65 and g++ is using c++11 and libxerces is 3.2.

This version of libxerces requires c++11 rendering the flag c++98 option useless (if you don't want to recompile).

In this patchset I just added references to force Helper.hpp to use the boost version of tuple (without them, it uses the new std::tuple or gets ambiguous calls).

I also added -fpermissive otherwise the build fails on perturb_weights function.

Nicolas Patry added 2 commits June 4, 2018 20:19
This was referenced Oct 10, 2018
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