History log of /netbsd/tests/usr.bin/xlint/lint1/msg_247_ilp32_ldbl64.c (Results 1 – 4 of 4)
Revision Date Author Comments
# 9299a7c5 08-Jul-2023 rillig <rillig@NetBSD.org>

lint: warn about pointer casts between different kinds of types

Pointer casts from an integer type to a floating-point type and vice
versa get a 'maybe troublesome' warning now. The previous assump

lint: warn about pointer casts between different kinds of types

Pointer casts from an integer type to a floating-point type and vice
versa get a 'maybe troublesome' warning now. The previous assumption
that all types of the same bit-size are convertible may have been valid
from a technical point of view, but still such code should get more
attention.

The rules for struct and union types could be made more fine-grained
later, if the need arises. To suppress this warning, it's always
possible to cast to an intermediate 'void *'.

show more ...


# 5880b286 08-Jul-2023 rillig <rillig@NetBSD.org>

tests/lint: fix a few ilp32 tests


# 00d31836 05-Jul-2023 rillig <rillig@NetBSD.org>

tests/lint: spell platform identifiers for 'long double' consistently

The test file names don't have a hyphen, so the identifiers shouldn't
have one either.


# b09f23c8 05-Jul-2023 rillig <rillig@NetBSD.org>

tests/lint: add platform-specific tests for troublesome pointer casts