mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
* ChemDraw Document and read/write support for the RDKit * Add missing test file * Rev chemdraw version * Rev chemdraw version * Rev chemdraw version for g++11 * Update CMakeLists.txt Co-authored-by: Greg Landrum <greg.landrum@gmail.com> * Build chemdraw from an external CMake file * Remove unused platform bigendian check * Revert changes to constants, remove unused ones * Keep the original constant names * Remove __main__ section * Use as much of the ChemDraw CMakeList as possible * Skip installing expat * Rev chemdraw version to fix windows issue * Don't install expat, set the appropriate CHEMDRAW_BUILD definition * resolve windows builds * Fix minimal lib builds * Move ChemDraw document to private header * Move utility functions to ChemDraw namespace * Move ChemDraw to v2 unique ptr api namespace * Make class enum * Switch to camelCase * Response to review * Move ChemDrawToDocument to ChemDraw namespace * Update External/ChemDraw/Wrap/rdChemDraw.cpp Co-authored-by: Greg Landrum <greg.landrum@gmail.com> * Fix typo * Update External/ChemDraw/Wrap/rdChemDraw.cpp Co-authored-by: Greg Landrum <greg.landrum@gmail.com> * Add better documentation * Rev chemdraw version --------- Co-authored-by: Brian Kelley <bkelley@glysade.com> Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
30 lines
1018 B
C
30 lines
1018 B
C
#if defined(__clang__)
|
|
/* Clang/LLVM. ---------------------------------------------- */
|
|
#pragma GCC diagnostic pop
|
|
|
|
#elif defined(__ICC) || defined(__INTEL_COMPILER)
|
|
/* Intel ICC/ICPC. ------------------------------------------ */
|
|
|
|
#elif (defined(__GNUC__) || defined(__GNUG__)) && \
|
|
(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5))
|
|
/* GNU GCC/G++. these pragmas only work with >v4.1
|
|
* --------------------------------------------- */
|
|
#pragma GCC diagnostic pop
|
|
|
|
#elif defined(__HP_cc) || defined(__HP_aCC)
|
|
/* Hewlett-Packard C/aC++. ---------------------------------- */
|
|
|
|
#elif defined(__IBMC__) || defined(__IBMCPP__)
|
|
/* IBM XL C/C++. -------------------------------------------- */
|
|
|
|
#elif defined(_MSC_VER)
|
|
/* Microsoft Visual Studio. --------------------------------- */
|
|
#pragma warning(pop)
|
|
#elif defined(__PGI)
|
|
/* Portland Group PGCC/PGCPP. ------------------------------- */
|
|
|
|
#elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
|
/* Oracle Solaris Studio. ----------------------------------- */
|
|
|
|
#endif
|