Skip to content
  • Junchao Zhang's avatar
    C++: add a workaround for compilation errors with xlc++ V16.1.1 on Summit@OLCF · 461ddf6d
    Junchao Zhang authored and Satish Balay's avatar Satish Balay committed
    In file included from /autofs/nccs-svm1_home1/jczhang/petsc/src/sys/objects/device/interface/dcontext.cxx:4:
    /ccs/home/jczhang/petsc/include/petsc/private/cpp/object_pool.hpp:66:3: error: default member initializer for 'pool_' needed within definition of enclosing class 'PoolAllocator' outside of member functions
      PoolAllocator() noexcept                            = default;
      ^
    /ccs/home/jczhang/petsc/include/petsc/private/cpp/object_pool.hpp:106:13: note: default member initializer declared here
      pool_type pool_{};
                ^
    461ddf6d