Closed platinum95 closed 6 years ago
Can you tell me what version of cmake you're using? Is this a stock Linux distro? If so, which and which version?
On Wed, 11 Jul 2018, 16:46 platinum95, notifications@github.com wrote:
Was running into some C++14 related issues when compiling with gcc 5.4.0. Seems like -std=c++14 wasn't getting set during the cmake configuration. Got around the problem by adding set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") to the 2 CMakeLists. Not sure if this affects any other versions (haven't checked) or if it's even a real issue, just figured I'd post.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/peadar/pstack/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AAnmjSBcxRkXUrtGF31FW-576XCOk-zRks5uFg_QgaJpZM4VLSMR .
Closing since issue was due to cmake 2.8, which was released prior to widespread c++14 support.
Was running into some C++14 related issues when compiling with gcc 5.4.0. Seems like
-std=c++14
wasn't getting set during the cmake configuration. Got around the problem by addingset(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
to the 2 CMakeLists. Not sure if this affects any other versions (haven't checked) or if it's even a real issue, just figured I'd post.