{"id":10120,"url":"https://patchwork.libcamera.org/api/patches/10120/?format=json","web_url":"https://patchwork.libcamera.org/patch/10120/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20201020052905.89267-9-hiroh@chromium.org>","date":"2020-10-20T05:29:05","name":"[libcamera-devel,8/8] meson: Enable -Wextra-semi for clang","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"aac7c11c5b17ad012aa9d43a6cac9e26fbe3b2dd","submitter":{"id":63,"url":"https://patchwork.libcamera.org/api/people/63/?format=json","name":"Hirokazu Honda","email":"hiroh@chromium.org"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/10120/mbox/","series":[{"id":1388,"url":"https://patchwork.libcamera.org/api/series/1388/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1388","date":"2020-10-20T05:28:58","name":"[libcamera-devel,1/8] test: Omit extra semicolons","version":1,"mbox":"https://patchwork.libcamera.org/series/1388/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/10120/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/10120/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 64509BDB13\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 20 Oct 2020 05:29:32 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 30990613B4;\n\tTue, 20 Oct 2020 07:29:32 +0200 (CEST)","from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com\n\t[IPv6:2607:f8b0:4864:20::1042])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5B56E60351\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 20 Oct 2020 07:29:31 +0200 (CEST)","by mail-pj1-x1042.google.com with SMTP id a1so377493pjd.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 19 Oct 2020 22:29:31 -0700 (PDT)","from hiroh.tok.corp.google.com\n\t([2401:fa00:8f:2:de4a:3eff:fe7d:f78f])\n\tby smtp.gmail.com with ESMTPSA id\n\tj4sm779043pfd.101.2020.10.19.22.29.28\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 19 Oct 2020 22:29:29 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"j94hIST/\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=IBwbA87mFEa53OeEVLkoTjafGlDtryzgS7Jd9GFD6TE=;\n\tb=j94hIST/kwQiq9P27UX24shsY1HhknvK5pjEYDLrakWjZlbzkRNgKM26ullEQWOm7e\n\tdgCH68wIxR0fo4lBXydJFeluid6WHe6vGu+jHCZ9fDSLlALMQCgRu2UfqbWnexxYlbTH\n\tdycqor+XeBbJBU/uTj7TKOMIEHn54JOR4dYHk=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=IBwbA87mFEa53OeEVLkoTjafGlDtryzgS7Jd9GFD6TE=;\n\tb=oVCYU4OjGeJqUn0cvbb3edvHheoFgcguG0Fe/diYcPonJwCk+/YWa00ForbQwZ8euJ\n\tUF467bpFVrvesV+J8k4uv/zCWqXO/5n3iMwdEpBTgOKiWO97UcMbvP+CXFEwr2A1x7YQ\n\t5d/pyQtuWf4xFIPpuEjJb4m47tjfXfqJhMl1ess8qfCM4UVWuxYJi0fRmxK9hEUbgNAv\n\te2WfYTX41isl3bsanMmTMZkmwQhpBtPKTlYzbzsNKR4/9H3wkyc3gWPYH/T48b8fvsy+\n\tIsCKnZqrBSkQUpbV2ycDOBQPsAfAv4HLTRjtc92avRv5g3h30ZSzBYLhAokMsziaUsYD\n\tacpw==","X-Gm-Message-State":"AOAM530lSmUHS5lfSNhdvTU2fqX+gummKXOcQb6mHvDJ6XoJR5lAwlP5\n\tqBbfMR57yENV+uzzn1HTDh/O/ClPRV9Ojw==","X-Google-Smtp-Source":"ABdhPJyyScrcU4R7XUBF+NVkT1GZn6TbzmXWFqzA4jpGJj++jQkurezI74lxZk6FwERuC/Nd56Xy2Q==","X-Received":"by 2002:a17:90a:7d12:: with SMTP id\n\tg18mr1339737pjl.89.1603171769799; \n\tMon, 19 Oct 2020 22:29:29 -0700 (PDT)","From":"Hirokazu Honda <hiroh@chromium.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 20 Oct 2020 14:29:05 +0900","Message-Id":"<20201020052905.89267-9-hiroh@chromium.org>","X-Mailer":"git-send-email 2.29.0.rc1.297.gfa9743e501-goog","In-Reply-To":"<20201020052905.89267-1-hiroh@chromium.org>","References":"<20201020052905.89267-1-hiroh@chromium.org>","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH 8/8] meson: Enable -Wextra-semi for clang","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"The option, -Wxtra-semi, helps developers to find unnecessary\nsemicolons. This option is available with clang.\n\nSigned-off-by: Hirokazu Honda <hiroh@chromium.org>\n---\n meson.build | 6 ++++++\n 1 file changed, 6 insertions(+)","diff":"diff --git a/meson.build b/meson.build\nindex de15cc1..480c861 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -64,6 +64,12 @@ if cc.get_id() == 'clang'\n             '-stdlib=libc++',\n         ]\n     endif\n+\n+    if cc.has_argument('-Wextra-semi')\n+       cpp_arguments += [\n+           '-Wextra-semi',\n+       ]\n+    endif\n endif\n \n if cc.get_id() == 'gcc'\n","prefixes":["libcamera-devel","8/8"]}