History log of /netbsd-current/tests/usr.bin/xlint/lint1/gcc_builtin_overflow.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.3 07-Jul-2023 rillig

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.


Revision tags: netbsd-10-base
# 1.2 03-Sep-2021 rillig

lint: set the return type of __builtin_*_overflow to bool, not int

Needed for inetd.c in strict bool mode.


# 1.1 03-Sep-2021 rillig

tests/lint: test GCC builtins for overflow in strict bool mode

Seen in inetd.c.


# 1.2 03-Sep-2021 rillig

lint: set the return type of __builtin_*_overflow to bool, not int

Needed for inetd.c in strict bool mode.


# 1.1 03-Sep-2021 rillig

tests/lint: test GCC builtins for overflow in strict bool mode

Seen in inetd.c.