Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: rillig
Date: Thu Feb 20 20:59:34 UTC 2025
Modified Files:
src/tests/usr.bin/xlint/lint1: gcc_builtin_alloca.c init.c
init_braces.c init_c99.c msg_016.c msg_183.c msg_211.c msg_246.c
queries.c
src/usr.bin/xlint/lint1: err.c tree.c
Log Message:
lint: mention the assignment operator in 'illegal combination'
In source lines that contain both a 'return' statement as well as a
function-like macro, such as the C11 atomics, seeing the word 'init' in
the diagnostic helps to see that the type conflict is not in the
'return' statement but instead in some initializer.
Seen in userspace-rcu/wfcqueue.h:147.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/gcc_builtin_alloca.c
cvs rdiff -u -r1.16 -r1.17 src/tests/usr.bin/xlint/lint1/init.c
cvs rdiff -u -r1.9 -r1.10 src/tests/usr.bin/xlint/lint1/init_braces.c
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/init_c99.c
cvs rdiff -u -r1.5 -r1.6 src/tests/usr.bin/xlint/lint1/msg_016.c \
src/tests/usr.bin/xlint/lint1/msg_246.c
cvs rdiff -u -r1.6 -r1.7 src/tests/usr.bin/xlint/lint1/msg_183.c
cvs rdiff -u -r1.7 -r1.8 src/tests/usr.bin/xlint/lint1/msg_211.c
cvs rdiff -u -r1.33 -r1.34 src/tests/usr.bin/xlint/lint1/queries.c
cvs rdiff -u -r1.262 -r1.263 src/usr.bin/xlint/lint1/err.c
cvs rdiff -u -r1.670 -r1.671 src/usr.bin/xlint/lint1/tree.c
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