Provide C++11 support

Issue #129 resolved
Andrew Melim created an issue

Look into whether we should utilize C++11 in gtsam.

Here is a table for compiler version support http://en.cppreference.com/w/cpp/compiler_support

Comments (6)

  1. Abel Gawel

    I think feature/BAD branch (and maybe others) is using C++11 now. Is there a reason not to include compiler flags in CMakeLists?

    set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")

  2. Frank Dellaert

    No, feature/BAD does not use C++11. At least, not intentionally :-) There is a cost in that some of our partners have compilers and cross-compile to platforms where C++11 is still unsupported.

  3. Frank Dellaert
    • changed status to open

    Revisiting this for GTSAM 4. Compilers seem to have caught up with c++11, even on embedded platforms.

  4. Frank Dellaert

    Thoughts on throwing the switch @cbeall3 @abachrac @mikebosse ? To be backwards compatible, probably need to continue to use boost::shared_ptr....

  5. Log in to comment