The NetBSD Project

CVS log for src/usr.bin/xlint/Makefile.inc

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.23 / (download) - annotate - [select for diffs], Sun Apr 10 13:21:34 2022 UTC (9 months, 3 weeks ago) by martin
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

PR 56789: avoid -ftrapv for alpha, it triggers a gcc error.
OK: rillig

Revision 1.22 / (download) - annotate - [select for diffs], Sat Apr 9 22:26:49 2022 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (colored)

lint: ensure that lint itself compiles without lint warnings

It would be a pity if lint didn't even survive its own style checks.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Apr 8 21:48:19 2022 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored)

lint: fix undefined behavior on enum overflow (since 1995)

GCC had optimized the check away, due to the obvious integer overflow 'x
- 1 == INT_MAX'.  To prevent further bugs like this, compile with
-ftrapv.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Feb 27 07:50:09 2022 UTC (11 months ago) by rillig
Branch: MAIN
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

lint: clean up memory management for string buffers

There is no reason to duplicate all the work that is already done by the
memory allocator.

No functional change.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Feb 26 18:35:01 2022 UTC (11 months ago) by rillig
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

lint: enable memory debugging

Filling deallocated memory with 0x00 may hide errors, so rather fill
with 0xA5.

While this doesn't change anything about the test about the assertion
failure after a do-while loop (see t_integration.sh, test case
assertion_failures), it may detect other similar bugs earlier.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Feb 7 21:57:47 2022 UTC (11 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.17: +1 -3 lines
Diff to previous 1.17 (colored)

lint: drop compatibility with C90

Since tools/README 1.5 from 2022-02-03, the tools no longer need to be
compatible with C90, they may now use C99 features.  Lint had used
<stdbool.h> and snprintf already.

No functional change.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Nov 1 19:48:51 2021 UTC (15 months ago) by rillig
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

lint: enter full C90 compatibility mode

The C99 comment in tree.c:3468 has been there since 2017-03-06, without
anyone complaining that their compiler would not handle it.

Strangely, running GCC 10.3.0 in '-std=c90' mode does not complain about
declarations after statements, '-Wdeclaration-after-statement' is needed
separately.

No functional change.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Nov 1 19:10:07 2021 UTC (15 months ago) by rillig
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

lint: move all declarations above statements

All code that is used by src/tools is supposed to be compatible with C90.

No functional change.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Aug 7 17:38:41 2021 UTC (17 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

lint: clean gcov files for lint2 and xlint as well

Revision 1.14 / (download) - annotate - [select for diffs], Sun Apr 18 22:51:24 2021 UTC (21 months, 2 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.13: +1 -3 lines
Diff to previous 1.13 (colored)

lint: remove WARNS=3, falling back to the default WARNS=5

It's strange that GCC does not warn about the nonliteral format strings
in lint1/err.c, lint2/msg.c and lint2/read.c, despite -Wformat=2, but
Clang does.

Revision 1.12.6.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.12: +4 -4 lines
Diff to previous 1.12 (colored) next main 1.13 (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.12.12.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:41 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

resync with head

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jan 28 14:25:18 2013 UTC (10 years ago) by matt
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, 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-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

Make mips64e[bl] check more generic.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 22 05:12:24 2010 UTC (12 years, 10 months ago) by mrg
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, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.11: +6 -7 lines
Diff to previous 1.11 (colored)

for mips64*, use mips64 subdir, otherwise use $MACHINE_ARCH if exists,
or $MACHINE_CPU.  idea from dennis.c.ferguson@gmail.com in PR#43021.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 14 00:42:06 2009 UTC (13 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored)

Merge from matt-nb5-mips64
Teach lint about mips64

Revision 1.9.48.1 / (download) - annotate - [select for diffs], Fri Dec 11 20:33:08 2009 UTC (13 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Unless we are in O32, use long int for size_t/ptrdiff_t/intptr_t.  This
allows N32 and N64 use both use the same type.

Revision 1.9.44.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.9: +3 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with HEAD.

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

Revision 1.10 / (download) - annotate - [select for diffs], Tue Apr 14 09:09:59 2009 UTC (13 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

Compile lint with WARNS=3.
Currently there are too many -Wsign-compare issues for WARNS=4.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 4 08:37:37 2002 UTC (21 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, 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, 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, mjf-devfs2-base, mjf-devfs2, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, 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, fvdl_fs64_base, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: matt-nb5-mips64, jym-xensuspend
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

Need <bsd.own.mk> to use ${MACHINE_CPU}.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Feb 4 00:18:32 2002 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.7: +11 -2 lines
Diff to previous 1.7 (colored)

On m68000, we need different target parameters than on m68k,
because "long double" is a different size on m68000.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jan 18 20:39:17 2002 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.6: +5 -2 lines
Diff to previous 1.6 (colored)

* Move stuff shared between lint1 and lint2 to the new common/ directory.
* Move the arch/ directory out of lint1/ into the top-level.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Nov 12 23:16:36 2001 UTC (21 years, 2 months ago) by tv
Branch: MAIN
Changes since 1.5: +2 -4 lines
Diff to previous 1.5 (colored)

Major overhaul of src/tools and host toolchain.  Summary of changes:

* Rewrite src/tools Make logic to work like the rest of the tree wrt
  "dependall" and "install".  The old "make build" hack is gone.

* Remove the MKTOOLS logic.  This was linked to the "make build" hack,
  and was only needed because TOOLDIR originally had no writable default.

* Redo the GNU configure/make logic to make it fit reasonably in a
  BSD make wrapper.  Use new ${.ALLTARGETS} variable to scan for
  targets in $(srcdir), and mark them with .MADE: to prevent rebuilding.

* Only build cross tools in src/tools; remove some messy logic in
  src/usr.* and src/gnu/usr.* that would do target filename rewriting
  (improves consistency and readability).

* Add the ability to build cross gdb at tool build time by setting
  MKCROSSGDB (default no) to "yes" in mk.conf.

* Add src/tools/groff and set up paths to work with this cross groff.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 25 02:22:55 2001 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

Give host tool builds better control over the HOST_CPPFLAGS.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 22 05:19:31 2001 UTC (21 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

Move CPPFLAGS addition for lint1/arch to Makefile.inc so each subdir will
pick them up

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 22 15:40:39 1998 UTC (24 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, 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, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.2: +1 -3 lines
Diff to previous 1.2 (colored)

WARNSify

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Mon Oct 27 19:20:19 1997 UTC (25 years, 3 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: 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
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Pull rev 1.2 up from trunk (bernd)

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 24 12:15:01 1997 UTC (25 years, 3 months ago) by veego
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Don't use " inside an '.if exists()'

Revision 1.1 / (download) - annotate - [select for diffs], Mon Oct 20 04:28:24 1997 UTC (25 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3

add Makefile.inc to turn off WARNS, and use it

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>