{"id":25682,"url":"https://patchwork.libcamera.org/api/1.1/covers/25682/?format=json","web_url":"https://patchwork.libcamera.org/cover/25682/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260107193607.2168539-1-barnabas.pocze@ideasonboard.com>","date":"2026-01-07T19:36:02","name":"[RFC,v1,0/5] C++20 migration","submitter":{"id":216,"url":"https://patchwork.libcamera.org/api/1.1/people/216/?format=json","name":"Barnabás Pőcze","email":"barnabas.pocze@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/25682/mbox/","series":[{"id":5694,"url":"https://patchwork.libcamera.org/api/1.1/series/5694/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5694","date":"2026-01-07T19:36:02","name":"C++20 migration","version":1,"mbox":"https://patchwork.libcamera.org/series/5694/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/25682/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id BB66DBDCBF\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  7 Jan 2026 19:36:16 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id F398461FC0;\n\tWed,  7 Jan 2026 20:36:15 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5A19261F84\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  7 Jan 2026 20:36:13 +0100 (CET)","from pb-laptop.local (185.221.143.114.nat.pool.zt.hu\n\t[185.221.143.114])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 4C249B7D;\n\tWed,  7 Jan 2026 20:35:51 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"WJYw2niw\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1767814551;\n\tbh=40agxkfyPh/eSJH297SyKM6AZKqxQ7ndUP994bZ+Zs4=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=WJYw2niwiPnPfRDMqQKUUlQCD3DRLhpZfxXOtYnaSKW1Tbeb4U9AxMmgcqQ2EwuBK\n\t3Ke4DIHHsaaB9Budj8zfb6smfSyenLIwU4QOlZu3F5LQ1JBVTLaeok7TQjLmL/zu+L\n\tZAtslgIXhw2I6FFemXCaq4lmiAf8SL6higz/h+Hk=","From":"=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Naushir Patuck <naush@raspberrypi.com>","Subject":"[RFC PATCH v1 0/5] C++20 migration","Date":"Wed,  7 Jan 2026 20:36:02 +0100","Message-ID":"<20260107193607.2168539-1-barnabas.pocze@ideasonboard.com>","X-Mailer":"git-send-email 2.52.0","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"This is a proof of concept patch set containing the changes needed to\nmake the current CI jobs succeed with cpp_std=c++20.\n\nThere is still at least one issue that seemingly only appears in C++20,\nand which needs more analysis and testing: https://gitlab.freedesktop.org/camera/libcamera/-/issues/267\n\nBarnabás Pőcze (5):\n  gstreamer: Add `-Wno-volatile` for GCC\n  meson: Ignore `Wredundant-move` with GCC 11 and above\n  libcamera: base: log: Ignore deprecations\n  treewide: Use character literal instead of string in some cases\n  meson: Switch to C++20\n\n meson.build                              |  4 ++--\n src/gstreamer/meson.build                |  7 +++++++\n src/libcamera/base/log.cpp               | 17 +++++++++++------\n src/libcamera/media_pipeline.cpp         |  6 +++---\n src/libcamera/pipeline/simple/simple.cpp |  6 +++---\n 5 files changed, 26 insertions(+), 14 deletions(-)\n\n--\n2.52.0"}