Module Name: src Committed By: rillig Date: Fri May 10 09:27:27 UTC 2024
Modified Files: src/usr.bin/error: Makefile Log Message: error: disable lint's strict bool mode when building with Clang The Clang preprocessor does not mark sections from system headers. Lint's strict bool mode relies on these markers to allow the functions from <ctype.h> to be used as 'bool', even though their declared return type is 'int'. Without these markers, lint complains that the "right operand of '&&' must be bool, not 'int'". Until this is fixed in lint, disable strict bool mode. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/usr.bin/error/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.