Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2022 05:38:05 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: d55f890e012e - stable/13 - wg: drop -Wno-cast-qual from CFLAGS
Message-ID:  <202211130538.2AD5c5ak096591@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=d55f890e012e9c0aa5265a789b71a3c36fd89f38

commit d55f890e012e9c0aa5265a789b71a3c36fd89f38
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2022-11-05 03:45:36 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2022-11-13 05:37:05 +0000

    wg: drop -Wno-cast-qual from CFLAGS
    
    The latest update fixes the warning by applying const to the correct
    part of the pointer.
    
    (cherry picked from commit a28989483e9d4b3488b3b232139fc47b522a6786)
---
 usr.bin/wg/Makefile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/usr.bin/wg/Makefile b/usr.bin/wg/Makefile
index 55cf5fccf53a..6627dfd69e30 100644
--- a/usr.bin/wg/Makefile
+++ b/usr.bin/wg/Makefile
@@ -35,7 +35,4 @@ CWARNFLAGS.curve25519.c+=	-Wno-shadow
 CWARNFLAGS.config.c+=	-Wno-cast-align
 CWARNFLAGS.ipc.c+=	-Wno-cast-align
 
-# qsort comparator
-CWARNFLAGS.show.c+=	-Wno-cast-qual
-
 .include <bsd.prog.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211130538.2AD5c5ak096591>