Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W waLBerla
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 40
    • Issues 40
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • waLBerla
  • waLBerla
  • Merge requests
  • !373

Replace Boost with C++17

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Michael Kuron requested to merge boost into master Dec 14, 2020
  • Overview 9
  • Commits 9
  • Pipelines 17
  • Changes 33

To do:

  • Bump CUDA to 11 (error: namespace "std" has no member "optional") or restore C++14 support in header files used by CUDA code
  • Remove std::iterator usage (warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The <iterator> header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators.)
  • Update Boost on Windows VMs or remove it (warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly., error C2039: 'unary_function': is not a member of 'std', error C2143: syntax error: missing ',' before '<')
  • Fix C:\cygwin64\home\build\builds\walberla\walberla\src\mesa_pd\data\shape\ShapeTypes.cpp(31): warning C5041: 'SHAPE_TYPE': out-of-line definition for constexpr static data member is not needed and is deprecated in C++17
  • Remove usage of std::bind(&std::string::..., ...) (error: no instance of overloaded function "std::_Bind[...] matches the argument list)
  • Remove Intel 2018 (error: namespace "std" has no member "optional")
  • Intel 2019 is currently incompatible with pybind11 in C++17 mode (https://github.com/pybind/pybind11/pull/2714, https://github.com/pybind/pybind11/issues/2707, https://community.intel.com/t5/Intel-C-Compiler/Bug-report-icpc-fe-can-t-handle-fold-expressions-with-using/m-p/1233016#M38025)
  • Intel 2019 fails to build VariantTest
  • MSVC C:\cygwin64\home\build\builds\walberla\walberla\src\gather\CellGatherPackInfo.h(127): error C2143: syntax error: missing ',' before '<'
  • MSVC C:\cygwin64\home\build\builds\walberla\walberla\src\boundary/BoundaryHandling.h(2237): error C2059: syntax error: 'for'

Depends on !352 (merged)

Edited Dec 28, 2020 by Michael Kuron
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: boost