[CXX-2577] Test with C++20 standard Created: 22/Sep/22  Updated: 28/Oct/23  Resolved: 30/May/23

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 3.8.0

Type: Task Priority: Major - P3
Reporter: Kevin Albertson Assignee: Roberto Sanchez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CXX-2693 Remove valgrind tests from Evergreen Closed
Epic Link: CXX-2634
Quarter: FY24Q1

 Description   

Scope

  • Test compile in Evergreen with C++20 standard.

Background & Motivation
Requested in WRITING-11653



 Comments   
Comment by Githook User [ 30/May/23 ]

Author:

{'name': 'Roberto C. Sánchez', 'email': 'roberto@connexer.com', 'username': 'rcsanchez97'}

Message: CXX-2577 compile and test with c++20 (#968)

  • use latest CMake
  • use correct output file path in case of failed example build
  • Fix CMake variable typo
  • syntax update for c++20 conformance
  • CXX-2577 compile and test with c++20 (RHEL9 variants)
  • don't generate verbose makefiles

Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com>

  • include_expansions_in_env to make the distro_id expansion available
  • more cleanly specify C++ standard for example build
  • comment to explain the usage of SKIP_LEGACY_SHELL
  • ignore maybe-uninitialized warning around a smaller section of code
  • use bash test syntax

Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com>

  • remove unnecessary use of "$@"
  • handling of Boost dependency with newer CMake
  • expand tabs to spaces

---------

Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com>
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/ce1226c1f06ab20be1eae0b3d985082a1bdd88fd

Comment by Roberto Sanchez [ 19/May/23 ]

https://github.com/mongodb/mongo-cxx-driver/pull/968

Generated at Wed Feb 07 22:06:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.