Home | History | Annotate | Download | only in lint1
History log of /src/tests/usr.bin/xlint/lint1/platform_uchar.c
RevisionDateAuthorComments
 1.6  07-Apr-2025  rillig lint: remove warning about 'constant in conditional context'

This makes the '-X 161' option to lint invalid.
 1.5  08-Jun-2024  rillig lint: add details to warnings about negative constant to unsigned
 1.4  02-Dec-2023  rillig tests/lint: add more test cases for nonportable character comparison
 1.3  22-Feb-2023  rillig tests/lint: add platform-specific tests
 1.2  26-Sep-2021  rillig tests/lint: run all platform tests with the same options
 1.1  26-Sep-2021  rillig tests/lint: add tests for platform characteristics

Running lint in usr.bin/make on i386 fails due to this warning:

cond.c(800): warning: argument #3 is converted from 'unsigned char' to
'unsigned int' due to prototype [259]

This warning only occurred on i386 but not on sparc or x86_64. Try to
reproduce the test situation in platform_int.

The platform code in t_integration.sh was not strict enough, it didn't
check for multiple conditions, such as in msg_132_ilp32. That test was
only supposed to run on ILP32 platforms where size_t is unsigned int. It
also ran on sparc, even though size_t is long there.

RSS XML Feed