HomeFreeBSD

Enable -Wdate-time warning

Description

Enable -Wdate-time warning

This produces an "expansion of date or time macro is not reproducible"
warning or error upon use of DATE or TIME.

Provide NO_WDATE_TIME for ports or 3rd party software to opt out.

This is a recommit of 489d7a8528ca, which was reverted (by baf8cbcd97a6)
due to ports build failures.

PR: 267902 [exp-run]
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D29580

Details

Provenance
emasteAuthored on Feb 9 2022, 10:10 PM
Reviewer
markj
Differential Revision
D29580: Enable -Wdate-time warning by default with Clang
Parents
rG983a18021dec: stand/zlib: Zlib still uses K&R function definitions
Branches
Unknown
Tags
Unknown