Now
MAIN commitmail json YAML
src/tests/usr.bin/xlint/lint1/d_c99_init.c@1.27
/
diff
/
nxr@1.27
src/tests/usr.bin/xlint/lint1/d_c99_init.exp@1.21 / diff / nxr@1.21
src/usr.bin/xlint/lint1/init.c@1.183 / diff / nxr@1.183
src/tests/usr.bin/xlint/lint1/d_c99_init.exp@1.21 / diff / nxr@1.21
src/usr.bin/xlint/lint1/init.c@1.183 / diff / nxr@1.183
lint: add error about out-of-bounds array subscripts
This check is not strictly necessary since any C99 compiler must
diagnose them as well, it is rather meant for demonstrating how to do
the check in lint, and for symmetry with the 'unknown member' error
message. These provide insight into how the data structures in init.c
are meant to be accessed.
This check is not strictly necessary since any C99 compiler must
diagnose them as well, it is rather meant for demonstrating how to do
the check in lint, and for symmetry with the 'unknown member' error
message. These provide insight into how the data structures in init.c
are meant to be accessed.