mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
Get things building with gcc4.4 on centos6
* Fixes exposing shared_ptr<const T> to python * remove some of the pragmas for pre 4.5 versions of gcc * get things working with centos6 and gcc4.4
This commit is contained in:
committed by
Brian Kelley
parent
06326dbaaf
commit
c0f9be86c8
@@ -54,9 +54,11 @@ class SparseIntVect {
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wtautological-compare"
|
||||
#elif(defined(__GNUC__) || defined(__GNUG__)) && \
|
||||
#elif (defined(__GNUC__) || defined(__GNUG__)) && \
|
||||
(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 1))
|
||||
#if (__GNUC__ > 4 || __GNUC_MINOR__ > 5)
|
||||
#pragma GCC diagnostic push
|
||||
#endif
|
||||
#pragma GCC diagnostic ignored "-Wtype-limits"
|
||||
#endif
|
||||
//! return the value at an index
|
||||
@@ -85,8 +87,8 @@ class SparseIntVect {
|
||||
};
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#elif(defined(__GNUC__) || defined(__GNUG__)) && \
|
||||
(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 1))
|
||||
#elif (defined(__GNUC__) || defined(__GNUG__)) && \
|
||||
(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
//! support indexing using []
|
||||
|
||||
Reference in New Issue
Block a user