Home | History | Annotate | Download | only in lint1
History log of /src/tests/usr.bin/xlint/lint1/platform_long.c
RevisionDateAuthorComments
 1.6  05-Nov-2024  rillig lint: fix cross references in comments
 1.5  28-Mar-2023  rillig lint: warn about extern declarations outside headers

https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html
 1.4  11-Jun-2022  rillig lint: add quotes around a few more placeholders in messages
 1.3  26-Sep-2021  rillig tests/lint: explain difference between i386 and sparc for 259

Seen in usr.bin/make/cond.c 1.278 from 2021-09-21, line 800, the call to
is_token, where unsigned char gets converted to unsigned int or unsigned
long, depending on the platform.
 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