[Open Babel] CMAKE_BUILD_TYPE=Debug compile flags

2020-01-08 Thread David van der Spoel
Hi, I noticed (after several hours) that when compiling in Release mode functions get mangled in a different manner than when compiling in Debug mode. E.g.: Release: $ nm install/lib/libopenbabel.so | grep thermo | grep T 000a2f00 T _ZN9OpenBabel23extract_thermochemistryEPNS_5OBMolEbP

Re: [Open Babel] CMAKE_BUILD_TYPE=Debug compile flags

2020-01-08 Thread Geoffrey Hutchison
> I noticed (after several hours) that when compiling in Release mode functions > get mangled in a different manner than when compiling in Debug mode. E.g.: Yes. We don't set how a C++ compiler handle function names. That's a standard handled by the compilers. But in any case, you can use a vari