raw_pdb icon indicating copy to clipboard operation
raw_pdb copied to clipboard

CMakeLists.txt: require C++-14

Open pmeerw opened this issue 1 year ago • 1 comments

GCC 13.2 says

raw_pdb/src/Examples/ExampleTypes.cpp:1316:57: warning: lambda capture initializers only available with ‘-std=c++14’ or ‘-std=gnu++14’ [-Wc++14-extensions] 1316 | auto setName = [&setNameGlobal, name = names[i]](uint32_t typeIndex) -> bool {

pmeerw avatar Jun 11 '24 09:06 pmeerw

Since the rest of the code builds with C++11, I'd like to adapt the example to make this work with C++11 as well.

MolecularMatters avatar Jun 25 '24 14:06 MolecularMatters

Thanks to PR #86 , this should no longer be required.

MolecularMatters avatar Aug 29 '24 07:08 MolecularMatters