History log of /netbsd-src/usr.bin/xlint/lint1/makeman (Results 1 – 11 of 11)
Revision Date Author Comments
# 6bdf3212 08-Jun-2024 rillig <rillig@NetBSD.org>

lint.7: abbreviate %lld to %d in the list of messages


# 9cfc443f 11-May-2024 rillig <rillig@NetBSD.org>

lint: warn when comparing an integer to a floating point constant


# bc8fe445 06-Feb-2024 rillig <rillig@NetBSD.org>

lint: tab-align message numbers in err.c

By replacing block comments with end-of-line comments, the comments take
up less space and thus no longer require to be indented by 6 spaces.

The messages a

lint: tab-align message numbers in err.c

By replacing block comments with end-of-line comments, the comments take
up less space and thus no longer require to be indented by 6 spaces.

The messages and their comments are used in 3 places: the manual page
lint.7, the err-msgs.h header for debug mode, and check-msgs.lua to
verify that the comments above the message IDs correspond to the actual
messages.

No functional change.

show more ...


# c4266104 06-Feb-2024 rillig <rillig@NetBSD.org>

lint.7: remove implementation details from message list

From a user's perspective, it's irrelevant whether a lint message is
generated using '%s' or '%.*s'; same for the integer widths, as they are

lint.7: remove implementation details from message list

From a user's perspective, it's irrelevant whether a lint message is
generated using '%s' or '%.*s'; same for the integer widths, as they are
platform-dependent.

show more ...


# 91bf38cb 21-Jul-2023 lukem <lukem@NetBSD.org>

lint: use TOOL_SED instead of sed

Use ${TOOL_SED} instead of (the host) sed, as the
latter doesn't necessarily support the non-POSIX -E.

PR bin/57533


# 715e58e7 05-Jul-2022 rillig <rillig@NetBSD.org>

lint: add additional queries that are not enabled by default

In the last 18 months, several lint warnings have been made adjusted to
allow common usage patterns. For example, lint no longer warns a

lint: add additional queries that are not enabled by default

In the last 18 months, several lint warnings have been made adjusted to
allow common usage patterns. For example, lint no longer warns about a
constant condition in the statement 'do { ... } while (false)' (message
161), as this pattern is well-known in statement-like macros, making it
unlikely that the 'false' is a mistake. Another example is casts
between unequal pointer types (message 247) for a few well-known
patterns that are unlikely to be bugs.

Occasionally, it is useful to query the code for patterns or events that
would not justify a warning. These patterns are modeled as predefined
queries that can be selected individually, in addition to and
independently of the existing warnings and errors.

New queries can be added as needed, in the same way as new warnings.
Queries that are deemed no longer used can be deactivated in the same
way as warnings that are no longer used.

As long as none of the queries is enabled, they produce a minimal
overhead of querying a single global variable. Computations that are
more expensive than a few machine instructions should be guarded by
any_query_enabled.

https://mail-index.netbsd.org/source-changes-d/2022/06/28/msg013716.html

ok christos@

show more ...


# 01f34d94 05-Sep-2021 rillig <rillig@NetBSD.org>

lint: generate date of lint.7 from err.c


# d88c2961 05-Sep-2021 rillig <rillig@NetBSD.org>

lint.7: document removed messages

Having just an empty string as the message was confusing.


# 11a6dbe7 30-Apr-2008 martin <martin@NetBSD.org>

Convert TNF licenses to new 2 clause variant


# 4ad17e57 19-Dec-2006 christos <christos@NetBSD.org>

No need to leave a lot of space between the error number and the message.


# 3c682572 06-Jul-2000 christos <christos@NetBSD.org>

new script to generate a man page of error messages that lint generates