From patchwork Fri Jul 29 09:56:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Eric Curtin X-Patchwork-Id: 16866 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 E6D46C3275 for ; Fri, 29 Jul 2022 09:57:45 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3E12F63312; Fri, 29 Jul 2022 11:57:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1659088665; bh=aWGiJyIXiRacPamEf/+e1K0P25qHr4OVZmwEhEetZXc=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=wTGUyFqzOZwbPoPgtU0KQ/v68vp9wSnWQhadFtZe5aJeFCRap8sAXDTg9j5NMDGc0 b4TMCkFf4a42V1MnqSxNiM2OQbuu9jCpKmhD7UdcBgzgig9rG0fAxHVRKrH02LXajv eRROFOhthFuf79yQ7x0xfULyOC7YdujRgWHR0uRnvwZ3h0tBoNDDONrHVQhtfJ2ZP9 A5yOaqvvAFoN45jodYj+auc3wIMmDlbe5H5WEuDx5xlqKttiThMO41Ekt+Zv3U9rmL jXSZuKqkVMw37/PNdonNdxThybkXPYfrvX9G7gU8kFQ3nGJpW4Cyx70gS/oZBwx1Fx geBtcRYBZPs6g== Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3415460486 for ; Fri, 29 Jul 2022 11:57:43 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.b="VgQsAUeG"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1659088662; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pJzoiqNEUa+A6GgLVe5VEiujEZ3lX2Aq5HaXzwJA8LM=; b=VgQsAUeGTuUzkmCdsaU2O0ar6EIff79+FbEv5u1Wc4Bn/5nllj+iPPT9zkPenZZ/X5J4Rk CYljIK7NwlePHghezviO0ZSOiKmcF2M4VgePK43jhw7Vn+8wN3goKXsAxcp0XXxTEcGiid blv/ftAc5yD9iK3F2RVlZTFaXXdiBH4= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-160-cNU9Fn_ROimVgKkX4HMQqw-1; Fri, 29 Jul 2022 05:57:40 -0400 X-MC-Unique: cNU9Fn_ROimVgKkX4HMQqw-1 Received: by mail-wr1-f72.google.com with SMTP id e14-20020adfa44e000000b0021f15a9f984so67242wra.20 for ; Fri, 29 Jul 2022 02:57:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=pJzoiqNEUa+A6GgLVe5VEiujEZ3lX2Aq5HaXzwJA8LM=; b=5yFjGeq/BcCO3v22K0x954N4hhjKwEm6jFXRr9qXCfL/TAH57CkFgg13+1MMLohD7+ uHavdSLjkYqplD1dO/FovFBBftuoz7DvtwKgyRtnmqQsVGyd/ASS1cY42T+weNXBjFbO D4esK5RXALx0dPbH7QD4K7UceHk9a8/Stj0Oa2OSjDcjCyXgYRkz/5vZEwMdseExCdVG J9Ld2QdJ6DyKBNUfA91XVyYmPWRr3tMZotDIm1jsEAE9cOE+my9nHrOlP7tqG64dTcTw sF25RMxNGxDDWIefXRT5Gp4AV6/pTL5L4yhj2YglMy+UMgdDQ7Igx1GB728pBqzBZbTx bceQ== X-Gm-Message-State: ACgBeo3unnmtW3MCSXvpqRKgBX61BsRAIQvGqJyLvKJAnFDW4Oc1gnrc rTzuv22gt+cUIMRzBbQY2Dmzf4B+nBySVDm0mUeTWdgojUR6/Cf2YQJ7JCzxdbd5Nf9oxeSbUlq PZsnCEheFyd18JemaMUTfZGJlJxOBxphyNQeZdSFzeaajLbIWn0jimKvrqWj6JUuaNkatRBZ9pB ys59LAvSJx X-Received: by 2002:a5d:4ad2:0:b0:21f:af5:8dc7 with SMTP id y18-20020a5d4ad2000000b0021f0af58dc7mr1887369wrs.575.1659088659329; Fri, 29 Jul 2022 02:57:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR71WCfPcvpiWt9b+Q+1MRSakAD8kls5bC6FYxnPhHILSOjd0r2lCHvoulnR4wSvuPROVqCtRQ== X-Received: by 2002:a5d:4ad2:0:b0:21f:af5:8dc7 with SMTP id y18-20020a5d4ad2000000b0021f0af58dc7mr1887355wrs.575.1659088659033; Fri, 29 Jul 2022 02:57:39 -0700 (PDT) Received: from p1.. ([83.240.228.130]) by smtp.gmail.com with ESMTPSA id p4-20020a7bcc84000000b003a325bd8517sm4313958wma.5.2022.07.29.02.57.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jul 2022 02:57:38 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Fri, 29 Jul 2022 10:56:26 +0100 Message-Id: <20220729095625.5831-1-ecurtin@redhat.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ecurtin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [libcamera-devel] [PATCH] ipa: raspberrypi: Fix compiler error, add functional include 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: Eric Curtin via libcamera-devel From: Eric Curtin Reply-To: Eric Curtin Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" gcc version '12.1.1 20220507 (Red Hat 12.1.1-1)' fails with the following error on Fedora 36. This file should include the functional header as it uses std::function. In file included from ../src/ipa/raspberrypi/controller/rpi/ccm.h:12, from ../src/ipa/raspberrypi/controller/rpi/ccm.cpp:15: ../src/ipa/raspberrypi/controller/rpi/../pwl.h:97:18: error: ‘std::function’ has not been declared 97 | void map(std::function f) const; Signed-off-by: Eric Curtin --- src/ipa/raspberrypi/controller/pwl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ipa/raspberrypi/controller/pwl.h b/src/ipa/raspberrypi/controller/pwl.h index 546482cd..aacf6039 100644 --- a/src/ipa/raspberrypi/controller/pwl.h +++ b/src/ipa/raspberrypi/controller/pwl.h @@ -6,6 +6,7 @@ */ #pragma once +#include #include #include