Home | History | Annotate | Download | only in lint1
History log of /src/tests/usr.bin/xlint/lint1/msg_132_lp64.c
RevisionDateAuthorComments
 1.3  03-Jan-2025  rillig tests/lint: move a platform-specific test

The test failed on i386, as ptrdiff_t fits in a uint32_t after
conversion, thus not generating a warning.
 1.2  07-Jul-2023  rillig branches: 1.2.2;
lint: warn about function definitions without header declaration

The existing warning was only issued for function declarations, not for
function definitions.

The interesting change in the tests is in msg_351.c. Many other tests
use non-static functions due to their syntactic brevity. In these
tests, the warning is disabled individually, to allow new functions to
be added without generating warning 351.
 1.1  10-Jun-2022  rillig tests/lint: fix test for loss of accuracy on ILP32 platforms

The test had been wrong since msg_132.c 1.14 from 2022-05-30.

Using 'unsigned long' in a test that was intended to behave the same on
ILP32 and LP64 was an accident. Use 'unsigned long long' instead, which
is 64-bits wide on all platforms supported by lint.

Move the test about conversion from 'long' to 'int' to the
platform-specific test files.

Noticed by martin@ on powerpc.
 1.2.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed