peadar / pstack

Print stack traces from running processes, or core files. Supports aarch64, x86_64, and i386

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues compiling with GCC 5.4.0

platinum95 opened this issue · comments

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.

Closing since issue was due to cmake 2.8, which was released prior to widespread c++14 support.