alanxz/SimpleAmqpClient

Incorrect C++ standard

johnhe4 opened this issue · 0 comments

Not sure how this is building for everyone else, but on master the CMakeLists.txt is setting the C++ standard to 98:

set(CMAKE_CXX_STANDARD 98)

But any modern installation of boost uses clauses such as noexcept which are C++ 11 or later. I received many compilation issues out-of-the-box because of this. I recommend setting this to 11 to avoid others from stumbling on this, and those that have ancient versions of boost can set it back locally if they care:

set(CMAKE_CXX_STANDARD 11)