CVS log for src/tests/usr.bin/xlint/lint1/platform_int.c
Up to [cvs.NetBSD.org] / src / tests / usr.bin / xlint / lint1
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jul 9 10:42:07 2023 UTC (17 months ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
lint: remove redundant '#' after 'argument' in diagnostics
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Mar 28 14:44:35 2023 UTC (20 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
lint: warn about extern declarations outside headers
https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Apr 16 18:41:21 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
tests/lint: fix tests on platforms other than x86_64
In msg_259_ilp32.c 1.6 from 2022-04-15, I removed the option -S from the
test in order to keep the message 259, but I forgot to fix the C99-style
comment as well.
In platform_int.c, the default lint option -S no longer generated
warning 259, so remove that option.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Sep 26 14:52:37 2021 UTC (3 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -1
lines
tests/lint: explain difference between i386 and sparc for 259
Seen in usr.bin/make/cond.c 1.278 from 2021-09-21, line 800, the call to
is_token, where unsigned char gets converted to unsigned int or unsigned
long, depending on the platform.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Sep 26 14:28:22 2021 UTC (3 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
tests/lint: run all platform tests with the same options
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Sep 26 03:17:59 2021 UTC (3 years, 2 months ago) by rillig
Branches: MAIN
tests/lint: add tests for platform characteristics
Running lint in usr.bin/make on i386 fails due to this warning:
cond.c(800): warning: argument #3 is converted from 'unsigned char' to
'unsigned int' due to prototype [259]
This warning only occurred on i386 but not on sparc or x86_64. Try to
reproduce the test situation in platform_int.
The platform code in t_integration.sh was not strict enough, it didn't
check for multiple conditions, such as in msg_132_ilp32. That test was
only supposed to run on ILP32 platforms where size_t is unsigned int. It
also ran on sparc, even though size_t is long there.
CVSweb <webmaster@jp.NetBSD.org>