From patchwork Wed Mar 25 23:05:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carl Eugen Hoyos X-Patchwork-Id: 18398 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 5A74F440F2B for ; Thu, 26 Mar 2020 01:05:35 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2D2B568B333; Thu, 26 Mar 2020 01:05:35 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-il1-f173.google.com (mail-il1-f173.google.com [209.85.166.173]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CE93B689E39 for ; Thu, 26 Mar 2020 01:05:27 +0200 (EET) Received: by mail-il1-f173.google.com with SMTP id m7so3615406ilg.5 for ; Wed, 25 Mar 2020 16:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=nC7bgdQ4Q/m5FGaABzMyAWemyiS89E5COwWiO4BMY7k=; b=gLbZXdcOg1Hp9nlsKPPRvkRUphWbLtSH3WAMxsLfkKkVppbm8vwn/D52On53scHRaw 3dzTdIREHrxv6kGJUoCNtn4sQKtl+HoGQaqYHNFT/kyi8nyRTENk5OSNWOWffuhIPixN aBh5Sgf766C3vFxDvYJOpqBm3htBDN/Ch1fgQfUovdF1OuiauMiJzJE7lauHDbigqA3X h2+IIvZ9ZBwrPQQWuHgRFQX4nCAqb6fd6ewVN94NAFFE/BbbWvHTNKT+aujEATRTpYbW ClwR0HZcKRrEO4aZciKxBPxaiqIXLIMYfcwG6a+RpopghBBukffwDVVV57yCPpZ+V2IT hMXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nC7bgdQ4Q/m5FGaABzMyAWemyiS89E5COwWiO4BMY7k=; b=a/nyPdhAXxV9A6ToQ1jrwAjgLbKv299k6VXw7/0KG6urwX3Xpzad6fp6458CHWv3Db Zb3Vbv5LH8VZ2Q42N+LXu2XW/TFZAIM0xwhDhtWOXHePZRUtkL+R1BJgY+OjaYi9vtuD UrwbIVC/0RlRZJOB2J0GTgaaVn8Y4sJY6jrOGIyUeneyheYgBvmoZx+o6L2ZUuXBKnPS 9rpjRQa6ZwFFO1uBf2da7nkFatFvKah/281NETe9Q4/xZnKmCXf0or87Om/1XtXcE0Pc BAPDwQiKtPz/iTRT+jybq4qEDAkvQU6ZJ0cB6kHnlxX0IxqgUzlYpLGo3LsyWyRjDbGf t7Zw== X-Gm-Message-State: ANhLgQ3TFQDnKvO7JsllNCpfK7LhkzVIf+9DNnFskpn5UegpNPjWSfJ7 PbX1hcOdy5guYTamQqKPM4ZbLCcTHasp8HMpKLdVgg== X-Google-Smtp-Source: ADFU+vsBZoxCEX8DGImap0vxRWBxZGcYkV8pdn42cTmAHpPWkoscs7tMIMTlRcNVpKDj/lTx5WQbVZPKBTJfkVSSB9k= X-Received: by 2002:a92:c00c:: with SMTP id q12mr5786756ild.125.1585177526388; Wed, 25 Mar 2020 16:05:26 -0700 (PDT) MIME-Version: 1.0 From: Carl Eugen Hoyos Date: Thu, 26 Mar 2020 00:05:15 +0100 Message-ID: To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PATCH]configure: Remove all C standard versions from the MSVC command line X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Hi! Attached patch removes an ugly warning shown for every file when using clang-cl.exe. Please comment, Carl Eugen From 61a07641e2babbb3bc0ad6375d1cb9934f8b434a Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 25 Mar 2020 23:59:11 +0100 Subject: [PATCH] configure: Remove all C standard versions from the MSVC command line. Silences a warning for every file when compiling with clang-cl.exe --- configure | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 18f2841765..68a81f81bb 100755 --- a/configure +++ b/configure @@ -4420,7 +4420,7 @@ msvc_common_flags(){ # generic catch all at the bottom will print the original flag. -Wall) ;; -Wextra) ;; - -std=c99) ;; + -std=c*) ;; # Common flags -fomit-frame-pointer) ;; -g) echo -Z7 ;;