Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2022 00:16:46 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: baf8cbcd97a6 - main - Revert "Enable -Wdate-time warning"
Message-ID:  <202202210016.21L0GkPh008163@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste:

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

commit baf8cbcd97a689375ce2551fe7fa99f23f8a883b
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-02-21 00:01:40 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-02-21 00:16:40 +0000

    Revert "Enable -Wdate-time warning"
    
    This reverts commit 489d7a8528cae1adb7192c2563028e2d028c354b.
    
    The flag leaks into some port builds, causing them to fail.  I will
    recommit it with some sort of opt-out later on.
    
    Reported by:    mi
---
 share/mk/bsd.sys.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
index cf48411d3d4d..f09987ecd962 100644
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -75,7 +75,6 @@ CWARNFLAGS.clang+=	-Wthread-safety
 CWARNFLAGS+=	-Wno-uninitialized
 .endif # WARNS >=2 && WARNS <= 4
 CWARNFLAGS+=	-Wno-pointer-sign
-CWARNFLAGS+=	-Wdate-time
 # Clang has more warnings enabled by default, and when using -Wall, so if WARNS
 # is set to low values, these have to be disabled explicitly.
 .if ${WARNS} <= 6



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