From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27F46C433DB for ; Wed, 3 Feb 2021 12:31:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CB5DA64F87 for ; Wed, 3 Feb 2021 12:31:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234393AbhBCMbH (ORCPT ); Wed, 3 Feb 2021 07:31:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232525AbhBCMbG (ORCPT ); Wed, 3 Feb 2021 07:31:06 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC467C0613D6 for ; Wed, 3 Feb 2021 04:30:25 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id r12so35416338ejb.9 for ; Wed, 03 Feb 2021 04:30:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=O1RxBM7003glKYocBA7/KIUKOzvg668ZSWARKeGdD/4=; b=GvKK6QwU/FkxGHTDireMwGmIioAccb0fCG6l0iKcAZaytuQ9aIqfSG5ymM58/mxzmD AjuOyIcDIp9Y5HErpyecFoZLgo6V12fn7rhyJI2F6TirfxSTi14VqoEt+rTgffqMSlMZ e+wVrMoFg0wuRE4Z8jsM4Q1N/ld+p/kaQG1FjNQLW8/gibLXmhh1jhAWVQh9PXhncPku KCVx5WAEIjA1IPmErGGlrENiOmSJHdZK22ZbWSVmZ3Xx8NRQf1lErQ7/65Txip2zBFYm F2+AXjrOrtwShyxccMga2Ep4QjSaSeeJuBKoIQ7IjDtEKlm/utJ9IEQpH4ppvdw3Hhac iBqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=O1RxBM7003glKYocBA7/KIUKOzvg668ZSWARKeGdD/4=; b=RFuRKsIsQiR6KNDezYjbROopHYwEb+ytBp2yKYRw9x1KkzUbE0FIcCvUYv1rZgAWT3 SYAbmd1D+hgRUswxfIa+gD653L0wNM1a7Qipr33QXQJajt+zdZQp9vDmWvofWOIghE1n YFTUDHz3K2+b3mhLEraKeePg+1UFsaEOV2ktv+CdVCJWpZpxWnhWDXRgxKevPl21/DS0 /mGr59g5v0p/REbePqP5Axqb5R/B3meSXFJMeFzsIyiv9u301IxNOTtuFodOU2zoZXS8 A1f3M6LZe31CbIcdr1RUqdfe+2r0Rer9GaIt9bLA7nHvh8ZRteyGc12xeGqDyk222wHj +wxg== X-Gm-Message-State: AOAM533QFZwJdeRGZneRW1eJsoasCZnWcKGwZx5q1+gu7qL53WIv3OB7 CkIocsUCE/G4IqJFLhmlkA00uY9GajOi813/PY/YUA== X-Google-Smtp-Source: ABdhPJzQDu6i8rgAHOMPQhAGWx45wTECJfUhIg1+DvfjO7Jx9A/pqNHAus1OgznHuLSlmq1LLUDHV+F4+GBdjdh46u4= X-Received: by 2002:a17:906:b042:: with SMTP id bj2mr2932615ejb.261.1612355422975; Wed, 03 Feb 2021 04:30:22 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Bartosz Golaszewski Date: Wed, 3 Feb 2021 13:30:12 +0100 Message-ID: Subject: Re: [libgpiod] bindings: cxx: fix building with clang's libc++ To: =?UTF-8?B?SmFuIEt1bmRyw6F0?= Cc: "open list:GPIO SUBSYSTEM" , Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Wed, Feb 3, 2021 at 1:52 AM Jan Kundr=C3=A1t wro= te: > > This is what I get on clang 11 with libc++: > > line.cpp:248:39: error: implicit instantiation of undefined template 'st= d::__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=C3=A1t > --- > 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 > > -- > 2.29.0 > > Applied, thanks! Bartosz