From patchwork Thu May 19 18:54:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 15989 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 3422DC0F2A for ; Thu, 19 May 2022 18:54:38 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7CD2E65655; Thu, 19 May 2022 20:54:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1652986477; bh=cjcKTGUKiJJcaCPFrWc6hnV+OYmYIlLk6pcPygnAJBs=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=K4eNTBMU8xNnDqMBK1PHKdks7YrY0b2kBnht95NVTL2Z2FOvEurX8XmIwgv3vcABh 7rwx288tFMevEd6EhBS+dhuLzw2lEORq7nFneeVoZ/jdh67xrw32cVo/oFkjX53jOa NGL52rOJf3iQJJUPk5rqwhoJtvZ44RwI3yyA0Z8z7vqQWExG5D699wK4pWipYt0OfH R8hwEmMawGEwu8I1UasSiv8V+XalGPAA7x4oboi0CZRkHrTe00Do+Dnkqfej9WX65C nO42zqFX7XcmlO+jFJsX85+tQH4xwUD0L+LIgdVwpctxI6YBeDYZ+cKNg+mbU2eNo2 tKKrEMaTeIrbw== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id EC31060420 for ; Thu, 19 May 2022 20:54:35 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="K3f3fNwO"; dkim-atps=neutral Received: from localhost.localdomain (unknown [45.131.31.124]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5EA606E0 for ; Thu, 19 May 2022 20:54:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1652986475; bh=cjcKTGUKiJJcaCPFrWc6hnV+OYmYIlLk6pcPygnAJBs=; h=From:To:Subject:Date:From; b=K3f3fNwO2+zCzLILl651N4gahrHK8lF6PLdeD0BOlsz63+dbt6tKI2JnpKFWP1ki4 o9B/asdE14Cjm2iOaHrB0L7z/kMR8jLoChX83k6BG3ZiOtqeILsF+xdPv1YpSDGXCz KCffF5DcxU9RfDvcZ7YiI3ITsyhqo6Hn+ExG9ng4= To: libcamera-devel@lists.libcamera.org Date: Thu, 19 May 2022 21:54:04 +0300 Message-Id: <20220519185404.16502-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] android: Drop gcc 7 compatibility X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Now that we have dropped gcc 7 support, remove the compatibility with gcc versions older than 8 that implemented the filesystem API in the std::experimental namespace. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: Paul Elder --- src/android/camera_hal_config.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/android/camera_hal_config.cpp b/src/android/camera_hal_config.cpp index 29e506ff5e28..28072cb86285 100644 --- a/src/android/camera_hal_config.cpp +++ b/src/android/camera_hal_config.cpp @@ -6,14 +6,7 @@ */ #include "camera_hal_config.h" -#if defined(_GLIBCXX_RELEASE) && _GLIBCXX_RELEASE < 8 -#include -namespace std { -namespace filesystem = std::experimental::filesystem; -} -#else #include -#endif #include #include