Module Name: src Committed By: rillig Date: Sun May 2 20:11:43 UTC 2021
Modified Files: src/sys/conf: lint.mk Log Message: sys/conf/lint.mk: fix order of command line options The option -o must come before the first filename. Now it is possible to lint kern_exec.c at least. The next failure is in netbsd32_machdep.c: netbsd32_machdep.c(395): error: illegal bit-field size: 255 [36] That line in netbsd32_process_read_fpregs reads: __CTASSERT(sizeof(*regs) == sizeof(struct save87)); This is probably a bug in lint. The struct save87 contains 3 uint16_t, followed by a union containing a uint64_t, followed by a packed struct with size 10. The combination of packed and padding is suspicious. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/conf/lint.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.