From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2A5EB4602A; Sat, 11 Jan 2025 02:14:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB4C3400D5; Sat, 11 Jan 2025 02:14:11 +0100 (CET) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mails.dpdk.org (Postfix) with ESMTP id 2254E40041 for ; Sat, 11 Jan 2025 02:14:09 +0100 (CET) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-21670dce0a7so54817945ad.1 for ; Fri, 10 Jan 2025 17:14:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1736558049; x=1737162849; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=4hVhUSZOgSdrzTzrZm5yX3HMjPlux9yqFmaaa+Mm6Ns=; b=nbtblZF41gE0RnspfcPu1WvwPyEwcJsTd7YzZ6cVtB22VMTC+R3i2ElaIhHutEkMLP F4Z7xi1gRFfXkGO1B3Yw2oXe/u9akEEMZx2Mcev4QQkueE0l3qec2n/C9v9VINUiFTe+ ErCNLisyFhXQj3djfyif97xT//wMmpKqw07M/Pc9hX/qbzzySSbA043H4+d+0CTYaejH XIByYPfRjhqOCXin5uX5p0diS4s4RJoFBH8CXOqEeM0Dvc6jdzKE8Hh749mXL5XgsXQp RaBsWueimS5ra0d/hmM7bR94rI/iWPZ/gIXF2YJtlxZeTNbo+2YTOMKJG25zoEvBjMDu j7pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736558049; x=1737162849; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4hVhUSZOgSdrzTzrZm5yX3HMjPlux9yqFmaaa+Mm6Ns=; b=v8UkbLolPLsG3ZSAjdrCUbiLO5Sc+eCmxB/6MNoonr4EtlMSGFWM5td9Pu/TOcHxqo TcT2od0YuhnEXovwOtIztW6jj8NPtORTo5JOC+2cOpAE3oTEE7hINDnaOHnGkP8GTlmV O0vxZ19OK+sYqjxIMzJLM9bt72chKFNLWgzPKXJEL1dSziZowtz0hn3UOCNMCaI1oZIn TPl3TOFOMQJ8fL8jhrswclgF+ym/wr+fbEK0jiZ0Oz1jTHGTtndkXgqybHq8PYcTTXgB 8utJfaRQujYSAtiacP367r27P2LN5vqYOkPR8c+WlcAFezs1raz80e3BaWdXMJ2OOGHv 3vjA== X-Gm-Message-State: AOJu0Ywu/tuzUI1SLBhZ7rSIbjdIMoGVfl4cmonVZkleRsXk6u/Lfxec pbNRqjt+8YJgFHwEuHdEYqphuUOq2cmSiRr5xFVO7XKdTzuVIhuN/ByzWfoF0/xFvYAaoUKrj01 5 X-Gm-Gg: ASbGncvZ6A3p84HfMFrOwYjSoNc+am4wvNKpDf+Qo+ENa48FKVOcZlIbtBzRmhZHUXW z+ZsEr4mNbtczbg2NX63/7D6DKrM9uVsY6nUK6W8YoV8PuUz1UWm/ecL8PNI6hY4IihFpNw3EKL sfNe3AtdixcP+8frodz+L2Xo+iZ8sc+CAxWcse418BYa1Tc9a5BcNKaK9FCYKxufy0WrOH0h7yP 0lctvwuNeOzV1j0a4J/5Sszgt5WQhqkJPxpwUZHi3r+CR16OBg7HEdoCAF+IFboYWsMkMrvE5nA LLyudQdL68Us0596/+E79bVcao6DS48amA== X-Google-Smtp-Source: AGHT+IFjVT8qu+2uJnrW462R2VPQgNbSv5UBsqBtcgI2Hwcg3QClNeu1OqbRlSvQFth0yF80D21y9g== X-Received: by 2002:a17:902:f545:b0:215:6e01:ad19 with SMTP id d9443c01a7336-21a83f96b61mr220948985ad.29.1736558048970; Fri, 10 Jan 2025 17:14:08 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21a9f111b82sm18669745ad.35.2025.01.10.17.14.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 17:14:08 -0800 (PST) Date: Fri, 10 Jan 2025 17:14:05 -0800 From: Stephen Hemminger To: Andre Muezerie Cc: dev@dpdk.org, konstantin.ananyev@huawei.com, homas@monjalon.net, david.marchand@redhat.com Subject: Re: [PATCH v14 03/81] eal/common: remove use of VLAs Message-ID: <20250110171405.34337a79@hermes.local> In-Reply-To: <1736540620-21764-4-git-send-email-andremue@linux.microsoft.com> References: <1713397319-26135-1-git-send-email-roretzla@linux.microsoft.com> <1736540620-21764-1-git-send-email-andremue@linux.microsoft.com> <1736540620-21764-4-git-send-email-andremue@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, 10 Jan 2025 12:22:22 -0800 Andre Muezerie wrote: > diff --git a/lib/eal/meson.build b/lib/eal/meson.build > index e1d6c4cf17..352db049e9 100644 > --- a/lib/eal/meson.build > +++ b/lib/eal/meson.build > @@ -31,3 +31,11 @@ endif > if is_freebsd > annotate_locks = false > endif > + > +warning_flags = ['-Wvla'] > + > +foreach arg: warning_flags > + if cc.has_argument(arg) > + cflags += arg > + endif > +endforeach > -- Could we enable it for all libs and only turn it off as required?