CVS commit: src/usr.bin

"Roland Illig" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	rillig
Date:		Thu Apr 23 19:34:07 UTC 2026

Modified Files:
	src/usr.bin/make: Makefile
	src/usr.bin/xlint: Makefile.inc

Log Message:
lint, make: only enable strict bool mode when using GCC

The GCC precompiler marks each token whether it comes from a system
header. Lint uses this information to allow some expressions that aren't
strictly bool, such as in __predict_true and __predict_false. The Clang
preprocessor treats all tokens as not coming from system headers, thus
being too strict.


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/usr.bin/make/Makefile
cvs rdiff -u -r1.29 -r1.30 src/usr.bin/xlint/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.