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
Enable C++11 as default #212
Comments
in the branch isdb is already experimentally enabled |
were you planning to do it for single features or as a whole (I mean: allowing any c++11 construct, without any ifdef protection)? For me we could even allow c++11 everywhere perhaps. Here you can find supported compilers: It looks like to support all c++11 features you need: Is anyone using older compilers? Giovanni |
Hi |
We should also check travis-ci. Places that might be affected are:
Notice that in the web I found some comments about missing features in gcc 4.8 (added in 4.9), such as library. Since installing gcc 4.9 on travis might be complicated (especially since we need mpi; this might require compiling mpi every time), we could set our requirements to "a compiler with same c++11 support as gcc 4.8.4 and clang 3.8". That would be very easy to check: if a test fails on travis, the corresponding part of the code should be protected with ifdefs and made optional. Would that be ok? We can also specify it on the manual page. Hopefully intel compiler (that we can't check on travis) will also work. Giovanni |
about the ubuntu precise at least for the current code i solved it using the flag --std=c++0x |
A number of things we are working on are just easier with C++11 and now is the default level of c++ also in gromacs
The text was updated successfully, but these errors were encountered: