From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 721FE4DF0A for ; Thu, 5 Jun 2025 21:14:24 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 9159468CAD7; Fri, 6 Jun 2025 00:14:20 +0300 (EEST) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 4188268CA06 for ; Fri, 6 Jun 2025 00:14:14 +0300 (EEST) Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-3a3798794d3so1127456f8f.1 for ; Thu, 05 Jun 2025 14:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1749158053; x=1749762853; darn=ffmpeg.org; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=bPP8TJUzwFbzM4CSsmXqEJ6L7SsQDRUuJAkYUqjL2fg=; b=ZVoE+QosROVvJlB/wOhUpo9HjlK02OeT2oqDwZzeUjikozLh9ngkl5s6RgN1XHqoE5 lC099LAS6OYoLbgl6FdC54zH+QntKafOEDUYaJrfQqSzOYbip8HDV1KWZ9vh1Fddv5n6 zFQYDvohcxIlZRAKLKcTwWQnrcJyWc+WBHRvE6hktsvUZjPSARnYetbMSoZSxRrkyGRY KpqmLr7/2JBDaZFj0S6nzU3PY1oL5cpHrHgZ5qi5R89+ZEQIJuX6vv9558qcMAwry7no 7oeGT+4hZ+5kgsnjTMrx6dLvUPP25ay3LzpA6O01KTZfselDZV5BS1ydlMmYevg685L1 Iflw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749158053; x=1749762853; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bPP8TJUzwFbzM4CSsmXqEJ6L7SsQDRUuJAkYUqjL2fg=; b=T71VgeAfB5IhzVJ4fzywBdLJGDpuOUYMueF/K4jUL6oDEh1A3JKkhB7+kUYiV0i6o8 6gwlX+YrXyJfqSsUmVL4FjQAgR/5TfLa6EvKSQ8ysFQY+U6NeyLkd6rCcCbSA1aS+xIh jd9375D7H5Najcuzdel+zs01FtkMPwmfri/p+uFwZG2KPdKDmQwDksnsK4qUOOJgz5Hq ir7QbBh3h20/DD2FElJfcu8QkUp4sm5prDTXxtfJdHxW1fydB+T8HLjTHmQzFiH64wVR s55ouq3r1hvBFCTYgLkBZmdI0ewbEkz2NL+cYddQdDgfqHCNqFBOgoCj3GHtrY4P6PZP vCCg== X-Gm-Message-State: AOJu0YzSrmQomJAXop7Slrjb3MbFVEKHSymMchAFc/fNOgFRXs57il41 y/HbYzhLx2EDpnTTksq+Tzs9HO1fw/IwRjdjph+TnW7YV/9jmPQ0Ui5jHjnllA== X-Gm-Gg: ASbGncsxMIHCHo4DcQyqzP2/GfFbLcYYTbpXIlReC5ecP3SGQIhijftkA3yLR6pEd9X am7SEzkTR41t/ImSkAEyEV0WBwB+HJzCKsKPfZDYGZkCfFXcyWW8lFkvHo5qzmMnh6ua9Uem2Iy fqBoxKxOSy++Wis3j9IrbosZ44HqSDAppOKqagp02Y00el5T2lNXfttrtXZuoKfc7vAjZhXAiUX cB1nFXdH3ccJ07IbXxd78k9NQtq9CD+PObO4id+uw2EmHK+F2pcZD97qLFXuhMkBL9aQD+07kRo up0lG0iwcBOtlb/aw1F3R/8IpXupOEo8GVe1x8f/wv/HPDqVws023LVxX0OkFhuIAPVNOWJVl1g sI7F7l/N7hyz2CDVb6gWlBxvnmbB2+dr7RwwZM3q5Rpj0rvkA7kONejAIJdAo7flctOfIbAHYFg g= X-Google-Smtp-Source: AGHT+IElrhgiR095LbX/nWte7e/Mj3lg5xYSNA8HLUKu7mqyZBivmJcK/GxHx6GT+8lfjobYROwEnQ== X-Received: by 2002:a05:6000:2482:b0:3a4:ec32:e4f3 with SMTP id ffacd0b85a97d-3a531ab517emr503615f8f.17.1749158053340; Thu, 05 Jun 2025 14:14:13 -0700 (PDT) Received: from [192.168.178.57] (p20030102370045007913e33224852a7b.dip0.t-ipconnect.de. [2003:102:3700:4500:7913:e332:2485:2a7b]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4526e1595d4sm1374865e9.16.2025.06.05.14.14.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jun 2025 14:14:12 -0700 (PDT) From: Marvin Scholz To: FFmpeg development discussions and patches Date: Thu, 05 Jun 2025 23:14:11 +0200 X-Mailer: MailMate (2.0r6222) Message-ID: <3D16DE48-E01E-4D8B-BE4E-820E6E54F187@gmail.com> In-Reply-To: References: MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH] configure: Ignore nullability-completeness apple clang warnings X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Dmitriy Kovalenko Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 5 Jun 2025, at 23:06, Dmitriy Kovalenko wrote: > Some of the versions of Apple Clang produces a ton of the warnings > related to the missing nullablity specifiers on the existing codebase of > ffmpeg which significantly slows down the compilation becuase of the > produced output size (especially on CI as a part of external build systems > because they usually analyze every single line of the produced stdout). > > This patch turns them off when compiling for darwing targets. > > And because apple's nullablity specifiers obviously are not used in the > codebase having this warning turn of just makes sense. Hi, thanks for the patch. Which version did you saw this with as I did not notice those warnings yet? > --- > configure | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/configure b/configure > index 89a766b403..54dd54360f 100755 > --- a/configure > +++ b/configure > @@ -5860,6 +5860,9 @@ case $target_os in > test ${clang_version%%.*} -eq 11 && add_cflags -fno-stack-check > fi > > + # Apple Clang has by default enabled nullability warnings that > + # create a ton of output noise and significantly slows > + add_cflags -Wnullability-completeness You can not unconditionally add this, it will break older compiler versions that do not support that flag. > # Xcode Clang doesn't default to -fno-common while upstream llvm.org > # Clang (and GCC) do. This avoids linker warnings on Xcode 16.3 about > # "reducing alignment of section __DATA,__common from 0x8000 to 0x4000 > -- > 2.49.0 > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".