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

Fails to build with non c++11 compilers #1

Open
tenomoto opened this issue Jun 25, 2017 · 3 comments
Open

Fails to build with non c++11 compilers #1

tenomoto opened this issue Jun 25, 2017 · 3 comments
Labels

Comments

@tenomoto
Copy link

eigen fails to build with gcc5. On FreeBSD 11-RELEASE, the problem can be fixed by adding -std=c++11 to the compile options or switch the compiler to system clang in lib/Makefile. It would be better not to hard code the compiler. I suggest using CXX and CXXFLAGS. Wtih clang -lstdc++ should be replaced with -lc++ in _oasis.

@ryanrhymes
Copy link
Member

ryanrhymes commented Jun 25, 2017

@tenomoto Thanks for reporting this, really appreciate it. I agree with your suggestion. Would you like to create a PR to fix this issue on FreeBSD?

@mseri
Copy link
Member

mseri commented Feb 22, 2019

Now that we are using dune this would be quite easy to fix: we could add a configurator step creating the right flags, or using ocaml syntax in the dune file

@mseri
Copy link
Member

mseri commented May 14, 2022

Is this still a problem?

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

No branches or pull requests

3 participants