You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2020/12/18 19:43:58 UTC

[GitHub] [geode-native] pdxcodemonkey removed a comment on pull request #692: GEODE-8702: Add StringPrefixPartitionResolver

pdxcodemonkey removed a comment on pull request #692:
URL: https://github.com/apache/geode-native/pull/692#issuecomment-748274730


   @gaussianrecurrence This breaks the RHEL7 build, so the change has been reverted in `develop`, sorry.  Please open a new PR when resolved.  Here's the relevant output from the RHEL7 build:
   
   In file included from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/string:53:0,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/random:40,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_algo.h:66,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/algorithm:62,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/regex:38,
                    from /home/geode/nativeclient/cppcache/test/CacheableStringTests.cpp:21:
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/basic_string.tcc: In instantiation of ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = apache::geode::client::size_tracking_allocator<char>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/basic_string.tcc:665:31:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = apache::geode::client::size_tracking_allocator<char>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
   /home/geode/nativeclient/cppcache/test/CacheableStringTests.cpp:243:35:   required from here
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/basic_string.tcc:600:27: error: no match for ‘operator==’ (operand types are ‘const apache::geode::client::size_tracking_allocator<char>’ and ‘apache::geode::client::size_tracking_allocator<char>’)
          if (__n == 0 && __a == _Alloc())
                              ^
   In file included from /home/geode/nativeclient/cppcache/test/CacheableStringTests.cpp:33:0:
   /home/geode/nativeclient/cppcache/shared/../src/util/size_tracking_allocator.hpp:92:8: note: candidate: bool apache::geode::client::size_tracking_allocator<_Tp>::operator==(const apache::geode::client::size_tracking_allocator<_Tp>&) [with _Tp = char] <near match>
      bool operator==(size_tracking_allocator const &) { return true; }
           ^
   /home/geode/nativeclient/cppcache/shared/../src/util/size_tracking_allocator.hpp:92:8: note:   passing ‘const apache::geode::client::size_tracking_allocator<char>*’ as ‘this’ argument discards qualifiers
   In file included from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/list:63:0,
                    from /home/geode/nativeclient/cppcache/shared/../src/PdxType.hpp:23,
                    from /home/geode/nativeclient/cppcache/shared/../src/PdxTypeRegistry.hpp:33,
                    from /home/geode/nativeclient/cppcache/shared/../src/CacheImpl.hpp:37,
                    from /home/geode/nativeclient/cppcache/shared/../src/DataOutputInternal.hpp:26,
                    from /home/geode/nativeclient/cppcache/test/CacheableStringTests.cpp:30:
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_list.h:1807:5: note: candidate: template<class _Tp, class _Alloc> bool std::operator==(const std::list<_Tp, _Alloc>&, const std::list<_Tp, _Alloc>&)
        operator==(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
        ^
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_list.h:1807:5: note:   template argument deduction/substitution failed:
   In file included from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/string:53:0,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/random:40,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_algo.h:66,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/algorithm:62,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/regex:38,
                    from /home/geode/nativeclient/cppcache/test/CacheableStringTests.cpp:21:
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/basic_string.tcc:600:27: note:   ‘const apache::geode::client::size_tracking_allocator<char>’ is not derived from ‘const std::list<_Tp, _Alloc>’
          if (__n == 0 && __a == _Alloc())
                              ^
   In file included from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/list:63:0,
                    from /home/geode/nativeclient/cppcache/shared/../src/PdxType.hpp:23,
                    from /home/geode/nativeclient/cppcache/shared/../src/PdxTypeRegistry.hpp:33,
                    from /home/geode/nativeclient/cppcache/shared/../src/CacheImpl.hpp:37,
                    from /home/geode/nativeclient/cppcache/shared/../src/DataOutputInternal.hpp:26,
                    from /home/geode/nativeclient/cppcache/test/CacheableStringTests.cpp:30:
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_list.h:285:5: note: candidate: template<class _Val> bool std::operator==(const std::_List_iterator<_Tp>&, const std::_List_const_iterator<_Val>&)
        operator==(const _List_iterator<_Val>& __x,
        ^
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_list.h:285:5: note:   template argument deduction/substitution failed:
   In file included from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/string:53:0,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/random:40,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_algo.h:66,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/algorithm:62,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/regex:38,
                    from /home/geode/nativeclient/cppcache/test/CacheableStringTests.cpp:21:
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/basic_string.tcc:600:27: note:   ‘const apache::geode::client::size_tracking_allocator<char>’ is not derived from ‘const std::_List_iterator<_Tp>’
          if (__n == 0 && __a == _Alloc())
                              ^
   In file included from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/unordered_set:48:0,
                    from /home/geode/nativeclient/cppcache/include/geode/CacheableKey.hpp:25,
                    from /home/geode/nativeclient/cppcache/include/geode/CacheableBuiltins.hpp:30,
                    from /home/geode/nativeclient/cppcache/include/geode/PdxInstanceFactory.hpp:25,
                    from /home/geode/nativeclient/cppcache/include/geode/RegionService.hpp:26,
                    from /home/geode/nativeclient/cppcache/include/geode/GeodeCache.hpp:23,
                    from /home/geode/nativeclient/cppcache/include/geode/Cache.hpp:27,
                    from /home/geode/nativeclient/cppcache/include/geode/CacheFactory.hpp:25,
                    from /home/geode/nativeclient/cppcache/test/CacheableStringTests.cpp:25:
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/unordered_set.h:1421:5: note: candidate: template<class _Value, class _Hash, class _Pred, class _Alloc> bool std::operator==(const std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>&, const std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>&)
        operator==(const unordered_multiset<_Value, _Hash, _Pred, _Alloc>& __x,
        ^
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/unordered_set.h:1421:5: note:   template argument deduction/substitution failed:
   In file included from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/string:53:0,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/random:40,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_algo.h:66,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/algorithm:62,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/regex:38,
                    from /home/geode/nativeclient/cppcache/test/CacheableStringTests.cpp:21:
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/basic_string.tcc:600:27: note:   ‘const apache::geode::client::size_tracking_allocator<char>’ is not derived from ‘const std::unordered_multiset<_Value, _Hash, _Pred, _Alloc>’
          if (__n == 0 && __a == _Alloc())
                              ^
   In file included from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/unordered_set:48:0,
                    from /home/geode/nativeclient/cppcache/include/geode/CacheableKey.hpp:25,
                    from /home/geode/nativeclient/cppcache/include/geode/CacheableBuiltins.hpp:30,
                    from /home/geode/nativeclient/cppcache/include/geode/PdxInstanceFactory.hpp:25,
                    from /home/geode/nativeclient/cppcache/include/geode/RegionService.hpp:26,
                    from /home/geode/nativeclient/cppcache/include/geode/GeodeCache.hpp:23,
                    from /home/geode/nativeclient/cppcache/include/geode/Cache.hpp:27,
                    from /home/geode/nativeclient/cppcache/include/geode/CacheFactory.hpp:25,
                    from /home/geode/nativeclient/cppcache/test/CacheableStringTests.cpp:25:
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/unordered_set.h:1409:5: note: candidate: template<class _Value, class _Hash, class _Pred, class _Alloc> bool std::operator==(const std::unordered_set<_Value, _Hash, _Pred, _Alloc>&, const std::unordered_set<_Value, _Hash, _Pred, _Alloc>&)
        operator==(const unordered_set<_Value, _Hash, _Pred, _Alloc>& __x,
        ^
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/unordered_set.h:1409:5: note:   template argument deduction/substitution failed:
   In file included from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/string:53:0,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/random:40,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_algo.h:66,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/algorithm:62,
                    from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/regex:38,
                    from /home/geode/nativeclient/cppcache/test/CacheableStringTests.cpp:21:
   /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/basic_string.tcc:600:27: note:   ‘const apache::geode::client::size_tracking_allocator<char>’ is not derived from ‘const std::unordered_set<_Value, _Hash, _Pred, _Alloc>’
          if (__n == 0 && __a == _Alloc())
                              ^


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org