mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
* Fix deprecated literal operator syntax for C++14 compliance Remove whitespace between "" and identifier in user-defined literal operators to comply with C++14 standard. Fixes warnings with newer compilers (emscripten 4.0+, clang 15+) that treat this as deprecated. Changed operator"" _name to operator""_name for: - SmilesParse.h: _smiles, _smarts - ReactionParser.h: _rxnsmarts, _rxnsmiles - FileParsers.h: _ctab, _mol2, _pdb * Fix BOOST_CONTAINER_NO_LIB macro redefinition warnings Add #ifndef guards before defining BOOST_CONTAINER_NO_LIB in Writer.cpp and Parser.cpp to avoid redefinition warnings when the macro is already defined via compiler flags in emscripten 4.0+ builds. Warnings fixed: - Writer.cpp:32: 'BOOST_CONTAINER_NO_LIB' macro redefined - Parser.cpp:38: 'BOOST_CONTAINER_NO_LIB' macro redefined