[libcamera-devel] [PATCH 1/5] meson: Switch to C++17
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Sat Aug 22 22:00:33 CEST 2020
Due to popular request, move from C++14 to C++17. This will allow
dropping some custom constructs (such as a custom utils::clamp),
benefiting from new language features, and dropping gcc 5 and 6 from the
compilation tests.
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index ec54e68f3635..ce1d1c63ddc6 100644
--- a/meson.build
+++ b/meson.build
@@ -6,7 +6,7 @@ project('libcamera', 'c', 'cpp',
default_options : [
'werror=true',
'warning_level=2',
- 'cpp_std=c++14',
+ 'cpp_std=c++17',
],
license : 'LGPL 2.1+')
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list