NetBSD/usr.bin/xlint
he 62e8b0f3fa Make a minimal attempt at distinguishing between the hosts and the
targets integer data type value ranges.   For now we just use the
hosts uint64_t for parsing & storing integers constants, and test
against the targets limits and assign appropriately, instead of
sometimes (inappropriately) going via the hosts u_long type.  As
long as none of our architectures have target long or quad data
types strictly larger than 64 bits, we should be fine with this
fix.

Furthermore, as they stand at the moment, we can't use the current
TARG_INT_MAX and TARG_LONG_MAX constants in C preprocessor expressions,
so remove the conditional on them being equal.  Yes, this will
produce dead code for some targets.

This allows an ilp32 host to lint for an lp64 target which uses
e.g. the targets ULONG_MAX constant without triggering an "integer
constant out of range" warning.

OK'ed by christos.
2006-10-16 13:33:57 +00:00
..
arch Add enough configury glue so that src/tools can build a N64 mips toolchain. 2006-08-25 23:35:04 +00:00
common Add RCSId. 2006-04-17 06:53:06 +00:00
lint1 Make a minimal attempt at distinguishing between the hosts and the 2006-10-16 13:33:57 +00:00
lint2 WFORMAT is no more... 2006-10-08 17:52:28 +00:00
llib Rework how MAKEVERBOSE operates: 2003-10-21 10:01:19 +00:00
xlint appease gcc -Wuninitialized 2005-06-02 04:34:57 +00:00
Makefile
Makefile.inc