Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin



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.




Home | Main Index | Thread Index | Old Index