[libcamera-devel] [PATCH 4/4] meson: Update to C++17

Kieran Bingham kieran.bingham at ideasonboard.com
Wed Sep 23 18:44:12 CEST 2020


libcamera has moved to using functionality from C++17.
Increase the standard used.

Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 6ca80ea7f29b..c312f2c99dc5 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@ project('simple-cam', 'c', 'cpp',
 	default_options : [
 		'werror=true',
 		'warning_level=2',
-		'cpp_std=c++14',
+		'cpp_std=c++17',
 	])
 
 # simple-cam.cpp is the fully commented application
-- 
2.25.1



More information about the libcamera-devel mailing list