The NetBSD Project

CVS log for src/usr.bin/xlint/xlint/lint.1

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / xlint / xlint

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.56 / (download) - annotate - [select for diffs], Sun Jan 22 15:20:01 2023 UTC (8 days, 22 hours ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.55: +5 -5 lines
Diff to previous 1.55 (colored)

lint: repurpose the '-d' option to specify DESTDIR

Previously, passing '-nostdinc -isystem $dir' only searched the given
directory but not any compiler-specific directories.

Discovered by fontconfig, which includes <stdatomic.h> from C11, which
lives in /usr/include/gcc-10 instead of /usr/include.

Change the preprocessor options to '--sysroot' instead, to align them
with how the compiler is invoked using build.sh.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Oct 1 09:42:40 2022 UTC (4 months ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

lint: add hyphen to adjective 'old-style'

Revision 1.54 / (download) - annotate - [select for diffs], Tue Jul 5 22:50:41 2022 UTC (6 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.53: +18 -2 lines
Diff to previous 1.53 (colored)

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@

Revision 1.53 / (download) - annotate - [select for diffs], Mon May 30 23:02:02 2022 UTC (8 months ago) by rillig
Branch: MAIN
Changes since 1.52: +10 -2 lines
Diff to previous 1.52 (colored)

lint: clean up usage messages

The two synopsis forms differed in the spelling of 'file ...'.

The options string for getopt does not start with ':', which led to a
duplicate message 'unknown option -- ?' followed by 'Unknown flag ?'.

Be more specific when calling 'lint file.c -u'; the message 'Unknown
argument' was not helpful as it didn't pinpoint that there are two
different phases for parsing options.  In the second phase, only the
options '-L' and '-l' are recognized.

In the manual page, mention the difference between the two synopsis
forms as early as possible.  The two synopsis forms are very similar and
both have far to many options to see the difference at a glance.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Apr 15 23:25:04 2022 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

lint: fix typography in manual page

Revision 1.51 / (download) - annotate - [select for diffs], Fri Apr 15 16:18:14 2022 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

lint: fix typography in manual page

Revision 1.50 / (download) - annotate - [select for diffs], Sun Feb 27 11:40:29 2022 UTC (11 months ago) by rillig
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

lint: C99 has been released, so refer to it by its proper name

Revision 1.49 / (download) - annotate - [select for diffs], Tue Dec 14 16:55:45 2021 UTC (13 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.48: +4 -1 lines
Diff to previous 1.48 (colored)

provide an expanded description for -W

Revision 1.48 / (download) - annotate - [select for diffs], Tue Dec 14 16:22:30 2021 UTC (13 months, 2 weeks ago) by christos
Branch: MAIN
Changes since 1.47: +4 -2 lines
Diff to previous 1.47 (colored)

Also accept -W to pass to cpp

Revision 1.47 / (download) - annotate - [select for diffs], Sun Aug 8 16:53:53 2021 UTC (17 months, 3 weeks ago) by wiz
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Fix Dd argument.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Aug 8 15:59:32 2021 UTC (17 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.45: +29 -28 lines
Diff to previous 1.45 (colored)

lint: update and proofread manual page

Revision 1.45 / (download) - annotate - [select for diffs], Sun Aug 8 15:29:24 2021 UTC (17 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.44: +1 -17 lines
Diff to previous 1.44 (colored)

lint: remove dead code for reading from stdin

Since xlint.c 1.27 from 2002-01-31, it has not been possible to read
from stdin anymore.  Apparently nobody missed this feature in the last
19 years.

Revision 1.44 / (download) - annotate - [select for diffs], Sun May 2 21:05:42 2021 UTC (20 months, 4 weeks ago) by rillig
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.43: +6 -1 lines
Diff to previous 1.43 (colored)

lint: on request, keep the preprocessor output

Previously, the simplest way of getting the preprocessed translation
unit was to run lint with the additional flag -V, which outputs the
command line of the C preprocessor, among other things.  That command
line does not include the proper quoting though, so it cannot be used
verbatim as a shell command if the command line contains spaces such as
in -Du64="unsigned long long".

In the common situation where lint is run via a Makefile, the option -V
had to be added in the Makefile itself since there is no make variable
for additional user-settable lint flags.  This is not straight-forward
enough.

Adding another command line option for this purpose would reduce the
remaining namespace for options.  Most of the 52 letters are already
used up.

To make this situation as simple as possible, preserve the output of the
C preprocessor depending on an environment variable.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Apr 14 20:06:40 2021 UTC (21 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.42: +5 -2 lines
Diff to previous 1.42 (colored)

lint: add option to accept C11 features

The list of available letters for the command line options gets shorter
and shorter.  Most of the interesting letters are already used for some
warning categories.  Curiously, -A, -W and -E were all still available.

The option -A nicely matches the intention of the option, which is to
allow a certain set of language features.  To keep the option available
for further extensions, define -Ac11 as the currently only valid option
of that kind.  This allows straight-forward extension for C17 and future
language standards, as well as independent feature-sets.  The options -W
and -E may someday complement the -A option, using the allow/warn/error
categories.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jan 12 20:42:01 2021 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.41: +8 -4 lines
Diff to previous 1.41 (colored)

lint: add new check for strict bool mode

In strict bool mode, bool is considered incompatible with all other
scalar types, just as in Java, C#, Pascal.

The controlling expressions in if statements, while loops, for loops and
the '?:' operator must be of type bool.  The logical operators work on
bool instead of int, the bitwise operators accept both integer and bool.
The arithmetic operators don't accept bool.

Since <stdbool.h> implements bool using C preprocessor macros instead of
predefining the identifiers "true" and "false", the integer constants 0
and 1 may be used in all contexts that require a bool expression.
Except from these, no implicit conversion between bool and scalar types
is allowed.

See usr.bin/tests/xlint/lint1/d_c99_bool_strict.c for more details.

The command line option -T has been chosen because all obvious choices
(-b or -B for bool, -s or -S for strict) are already in use.  The -T may
stand for "types are checked strictly".

The default behavior of lint doesn't change.  The strict bool check is
purely optional.

An example program for strict bool mode is usr.bin/make, which has been
using explicit comparisons such as p != NULL, ch != '\0' or n > 0 in
most places for a long time now, even before the refactoring in 2020.

Revision 1.41 / (download) - annotate - [select for diffs], Sun May 24 09:55:43 2020 UTC (2 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

Remove trailing whitespace, add missing word.

Revision 1.40 / (download) - annotate - [select for diffs], Sat May 23 17:28:27 2020 UTC (2 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.39: +14 -2 lines
Diff to previous 1.39 (colored)

Use -Z to pass arguments to ccp(1) directly. Can be used as:
    -Z-include -Zfile.h

Revision 1.37.10.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:59 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.37: +12 -5 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.39 / (download) - annotate - [select for diffs], Sun Dec 25 11:10:53 2016 UTC (6 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.38: +9 -9 lines
Diff to previous 1.38 (colored)

Whitespace, sort, remove some superfluous macros/quoting.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Dec 24 17:43:45 2016 UTC (6 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.37: +9 -2 lines
Diff to previous 1.37 (colored)

Add -R (source filename remapping) for MKREPRO

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Thu May 22 11:42:52 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.35: +7 -3 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.35.10.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:29:02 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.35: +7 -3 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

resync from head

Revision 1.37 / (download) - annotate - [select for diffs], Fri Apr 19 18:51:14 2013 UTC (9 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

make NOSTRICT behave the same a LINTED; use the new format.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Apr 19 18:46:50 2013 UTC (9 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.35: +7 -3 lines
Diff to previous 1.35 (colored)

document LINTEDn

Revision 1.35 / (download) - annotate - [select for diffs], Fri Apr 29 09:23:29 2011 UTC (11 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, cherry-xenmp-base, cherry-xenmp, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.34: +121 -160 lines
Diff to previous 1.34 (colored)

Sort options and option descriptions. Use more markup.

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Wed May 13 19:20:13 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.33: +4 -15 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.34 / (download) - annotate - [select for diffs], Tue Mar 10 13:44:02 2009 UTC (13 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.33: +4 -15 lines
Diff to previous 1.33 (colored)

Remove use of .Xo/.Xc to workaround argument number limit.

Revision 1.31.12.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:29:28 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.31: +16 -9 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Aug 2 12:05:48 2008 UTC (14 years, 6 months ago) by apb
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Branch point for: jym-xensuspend
Changes since 1.32: +11 -8 lines
Diff to previous 1.32 (colored)

Lint predefines the following symbols: "__LINT__", "lint", "__lint", and
"__lint__"; not only "lint" as the man page previously claimed.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jul 31 15:24:09 2008 UTC (14 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.31: +7 -3 lines
Diff to previous 1.31 (colored)

document P

Revision 1.31 / (download) - annotate - [select for diffs], Tue Dec 19 19:06:44 2006 UTC (16 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: wrstuden-revivesa
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Drop trailing whitespace.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Dec 19 19:00:20 2006 UTC (16 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.29: +8 -3 lines
Diff to previous 1.29 (colored)

Xr lint 7; noticed by Anon Ymous

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 26 21:59:42 2004 UTC (19 years ago) by wiz
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Bump date for previous.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jan 26 21:51:11 2004 UTC (19 years ago) by dsl
Branch: MAIN
Changes since 1.27: +14 -1 lines
Diff to previous 1.27 (colored)

Pass -MD through to cpp so that it can generate a depend file.
(Actually pass any -M <arg> through, but -MD is most useful.)

Revision 1.27 / (download) - annotate - [select for diffs], Tue Apr 8 21:09:40 2003 UTC (19 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Fix part of last.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Apr 8 17:25:15 2003 UTC (19 years, 9 months ago) by jmmv
Branch: MAIN
Changes since 1.25: +10 -10 lines
Diff to previous 1.25 (colored)

Homogenize paragraphs to begin with capital letter. Fixes my own PR misc/18773.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Feb 25 10:36:02 2003 UTC (19 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.24: +10 -10 lines
Diff to previous 1.24 (colored)

.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Oct 21 21:16:12 2002 UTC (20 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored)

add -S flag for c99 support.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Sep 26 01:09:46 2002 UTC (20 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.22: +79 -54 lines
Diff to previous 1.22 (colored)

Ispell. Begin new sentences on a new line.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jun 13 22:59:02 2002 UTC (20 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

Remove some unnecessary Ns.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jan 3 04:25:18 2002 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.20: +4 -1 lines
Diff to previous 1.20 (colored)

* Add header files (ilp32.h and lp64.h) that describe the two
  models of type sizes that we currently support, and include
  the appropriate one in each arch's targparam.h.
* Use the type size constants provided by targparam.h in the
  type table, rather than using "sizeof(type) * CHAR_BIT" (which
  would get the host's type size, not the target's).  XXX Not
  yet done for floating point types.
* Add a new BITFIELDTYPE lint comment that suppresses illegal
  bitfield type errors if the type is an integer type (e.g.
  long, long long), and also suppresses non-portable bitfield
  type warnings.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Dec 8 19:27:56 2001 UTC (21 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Punctuation nits.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jun 5 11:56:28 2001 UTC (21 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.18: +13 -13 lines
Diff to previous 1.18 (colored)

Nits.

Revision 1.18 / (download) - annotate - [select for diffs], Thu May 24 12:12:04 2001 UTC (21 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.17: +4 -2 lines
Diff to previous 1.17 (colored)

support // comments if -g is given

Revision 1.17 / (download) - annotate - [select for diffs], Thu May 24 11:58:09 2001 UTC (21 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.16: +5 -3 lines
Diff to previous 1.16 (colored)

allow trailing , in enum if -g

Revision 1.16 / (download) - annotate - [select for diffs], Sun Apr 29 12:02:45 2001 UTC (21 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

s/refferd/referred/

Revision 1.15 / (download) - annotate - [select for diffs], Wed Apr 25 02:19:50 2001 UTC (21 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Spell occurred correctly.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jan 23 23:06:11 2001 UTC (22 years ago) by enami
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

No space is allowed before comma in optarg for -X option.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jul 6 01:17:18 2000 UTC (22 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.12: +15 -3 lines
Diff to previous 1.12 (colored)

document new flags.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Fri Jun 23 16:40:22 2000 UTC (22 years, 7 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 14 06:49:24 2000 UTC (22 years, 7 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Mar 22 01:09:34 2000 UTC (22 years, 10 months ago) by garbled
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.10: +13 -1 lines
Diff to previous 1.10 (colored)

Add parsing of the CC env variable, and a -Bpath flag (for /usr/libexec)
so cross-building of lint libraries can be made possible.  Tested
building a powerpc libc via make build on an alpha.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 22 18:16:47 1999 UTC (23 years, 10 months ago) by garbled
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

More and more .Os cleanups.  .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 9 03:19:28 1999 UTC (23 years, 10 months ago) by ross
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

Missing .El.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Mar 7 11:30:01 1999 UTC (23 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +47 -17 lines
Diff to previous 1.7 (colored)

Clean up SYNOPSIS formatting.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 24 23:25:31 1998 UTC (24 years, 10 months ago) by sommerfe
Branch: MAIN
Changes since 1.6: +8 -2 lines
Diff to previous 1.6 (colored)

Add -d option, so lint can be used safely when we're not building "in
place" (e.g., when DESTDIR is set).  This causes the lint driver to
pass -nostdinc -idirafter <dir> to cpp, causing it to ignore
/usr/include and look somewhere else instead..

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 10 08:00:58 1997 UTC (25 years, 6 months ago) by mikel
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

xref exit(3) not exit(2)

Revision 1.5 / (download) - annotate - [select for diffs], Sat Mar 8 14:27:38 1997 UTC (25 years, 11 months ago) by mouse
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

alternate -> alternative, per PR 2643

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 22 11:31:47 1996 UTC (26 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.3: +17 -0 lines
Diff to previous 1.3 (colored)

* accept the file name '-' to indicate that standard input is to be
  used as lint1 input.  That involves having lint pass the '-' through
  to the cpp which preprocesses the lint1 input, and having lint1's
  scanner recognize a cpp filename "" as "{standard input}".

Revision 1.3 / (download) - annotate - [select for diffs], Mon Oct 23 13:45:31 1995 UTC (27 years, 3 months ago) by jpo
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.2: +49 -22 lines
Diff to previous 1.2 (colored)

updated

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 3 21:25:17 1995 UTC (27 years, 7 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored)

RCS id cleanup

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Jul 3 20:56:39 1995 UTC (27 years, 7 months ago) by cgd
Branch: Jochen_Pohl
CVS Tags: Jochen_Pohl-950703
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

lint(1) implementation, by Jochen Pohl.  named 'xlint' for a similar
reason to why 'install' is named 'xinstall'.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jul 3 20:56:39 1995 UTC (27 years, 7 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>