[openssh-commits] [openssh] branch master updated: set -Wno-error=discarded-qualifiers

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Sep 4 00:16:55 AEST 2026


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

djm pushed a commit to branch master
in repository openssh.

The following commit(s) were added to refs/heads/master by this push:
     new 7fe3b24c9 set -Wno-error=discarded-qualifiers
7fe3b24c9 is described below

commit 7fe3b24c922b7af2d743737f7cf37df61ea06426
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Fri Sep 4 00:16:30 2026 +1000

    set -Wno-error=discarded-qualifiers
    
    Disable this as a compilation error for -Werror builds until we
    clean them all up.
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index aba0291b6..005f905db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -200,6 +200,7 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
 
 	OSSH_CHECK_CFLAG_COMPILE([-pipe])
 	OSSH_CHECK_CFLAG_COMPILE([-Wunknown-warning-option])
+	OSSH_CHECK_CFLAG_COMPILE([-Wno-error=discarded-qualifiers])
 	OSSH_CHECK_CFLAG_COMPILE([-Wno-error=format-truncation])
 	OSSH_CHECK_CFLAG_COMPILE([-Qunused-arguments])
 	OSSH_CHECK_CFLAG_COMPILE([-Wall])

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list