From patchwork Wed Feb 3 00:15:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jan_Kundr=C3=A1t?= X-Patchwork-Id: 1435031 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=cesnet.cz header.i=@cesnet.cz header.a=rsa-sha256 header.s=office2-2020 header.b=EjId96+Y; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4DVjkG2lfWz9tlN for ; Wed, 3 Feb 2021 11:49:26 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231787AbhBCAtK (ORCPT ); Tue, 2 Feb 2021 19:49:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233486AbhBCAtH (ORCPT ); Tue, 2 Feb 2021 19:49:07 -0500 X-Greylist: delayed 430 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 02 Feb 2021 16:48:26 PST Received: from office2.cesnet.cz (office2.cesnet.cz [IPv6:2001:718:1:101::144:244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D7FCC061573 for ; Tue, 2 Feb 2021 16:48:26 -0800 (PST) Received: from localhost (ip-94-112-197-111.net.upcbroadband.cz [94.112.197.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by office2.cesnet.cz (Postfix) with ESMTPSA id 4FF33400071; Wed, 3 Feb 2021 01:40:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cesnet.cz; s=office2-2020; t=1612312832; bh=J7vktHgOmi5o8d414tvIUJM94Dj0r0K0e8/uGElwh9k=; h=Resent-Date:Resent-From:Resent-To:Resent-Cc:From:Date:Subject:To: Cc; b=EjId96+YJvIQpKGtZNAVV7Ooz1AlgNNHcctdfd/nkNCZnNbOk1hA83yHUXDd1RLfD bAcMfh/aJcQR9j4svBZwrhwwIl1sELlYKJcswMFFC4CeOrelXn5tWN9a7remaTMkEg YBytL+RLtBp99rELusIlY/Y/NavRBsV9EUS4zFvpfEEG0qDxi79iPBRDgdHS4OnLN3 M549dQwqUysl0+NJlvx4BIFRcsMOf5/Yvebyq5YdXZF1RjZyZYOaK12roKvrl9iOGY OQstYKDW8BQaRCL2Lzzso0usZXFnmOZKJvv+kQiOaL23FkMoP4LkN1khSAg+hNvXdk 6IFyHz0xMHiwA== Message-Id: From: =?utf-8?q?Jan_Kundr=C3=A1t?= Date: Wed, 3 Feb 2021 01:15:53 +0100 Subject: [libgpiod] bindings: cxx: fix building with clang's libc++ MIME-Version: 1.0 To: linux-gpio@vger.kernel.org Cc: Bartosz Golaszewski Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This is what I get on clang 11 with libc++: line.cpp:248:39: error: implicit instantiation of undefined template 'std::__1::array' ::std::array<::gpiod_line_event, 16> event_buf; ^ /nix/store/vk8ynr4hj2a8w7g1b9m8wknzj39iiv4x-libc++-11.0.1/include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; Signed-off-by: Jan Kundrát --- bindings/cxx/line.cpp | 1 + 1 file changed, 1 insertion(+) diff --git bindings/cxx/line.cpp bindings/cxx/line.cpp index bf4a3eb..9b66d1a 100644 --- bindings/cxx/line.cpp +++ bindings/cxx/line.cpp @@ -6,6 +6,7 @@ */ #include +#include #include #include