This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 45ec2cae195ec43662cbdb6899caee99a6d657fc
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Tue Sep 8 09:46:02 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Mon Sep 14 21:09:36 2026 +0000

    configure: drop -Werror from the C++ warning probe
    
    0ce413af9c gave check_disable_warning() a C++ checks at a time when
    unknown_warning_flags was a single set probed with test_cflags, so it
    said nothing about what the C++ compiler accepts. The -Werror was added
    as a glue that reject C only flags from C++ compilation and probe time.
    However, after 005510501e made those flags per language and
    unknown_warning_cxxflags is now probed with test_cxxflags, so the Werror
    is no longer relevant.
    
    This is not only cosmetic change, because -Werror itself is not valid
    flag for MSVC, all tests were failing there.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 8f3c7ded34..beb5e1460f 100755
--- a/configure
+++ b/configure
@@ -7791,7 +7791,7 @@ check_warning(){
     warning_flag=$1
     flag_to_add=${2:-$1}
     test_cflags $unknown_warning_cflags $warning_flag && add_cflags 
$flag_to_add
-    test_cxxflags -Werror $unknown_warning_cxxflags $warning_flag && 
add_cxxflags $flag_to_add
+    test_cxxflags $unknown_warning_cxxflags $warning_flag && add_cxxflags 
$flag_to_add
 }
 
 check_disable_warning(){

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to