[RFC,v1,0/5] C++20 migration
mbox series

Message ID 20260107193607.2168539-1-barnabas.pocze@ideasonboard.com
Headers show
Series
  • C++20 migration
Related show

Message

Barnabás Pőcze Jan. 7, 2026, 7:36 p.m. UTC
This is a proof of concept patch set containing the changes needed to
make the current CI jobs succeed with cpp_std=c++20.

There is still at least one issue that seemingly only appears in C++20,
and which needs more analysis and testing: https://gitlab.freedesktop.org/camera/libcamera/-/issues/267

Barnabás Pőcze (5):
  gstreamer: Add `-Wno-volatile` for GCC
  meson: Ignore `Wredundant-move` with GCC 11 and above
  libcamera: base: log: Ignore deprecations
  treewide: Use character literal instead of string in some cases
  meson: Switch to C++20

 meson.build                              |  4 ++--
 src/gstreamer/meson.build                |  7 +++++++
 src/libcamera/base/log.cpp               | 17 +++++++++++------
 src/libcamera/media_pipeline.cpp         |  6 +++---
 src/libcamera/pipeline/simple/simple.cpp |  6 +++---
 5 files changed, 26 insertions(+), 14 deletions(-)

--
2.52.0