The NetBSD Project

CVS log for src/usr.bin/xlint/common/inittyp.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Aug 29 20:35:18 2024 UTC (4 months, 3 weeks ago) by rillig
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -2 lines
lint: support GCC's __auto_type

Fixes PR toolchain/58654.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Jan 20 10:25:57 2024 UTC (12 months ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -4 lines
lint: unclutter conditional compilation

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Dec 3 18:17:41 2023 UTC (13 months, 3 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
lint: in declarations, replace tab with space

Previously, in some cases, the keywords 'const' or 'struct' were
followed by a tab, which doesn't make sense.

No functional change.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Jul 13 08:40:38 2023 UTC (18 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
lint: indent copyright lines consistently

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Jul 8 16:13:00 2023 UTC (18 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +34 -26 lines
lint: warn about pointer casts between different kinds of types

Pointer casts from an integer type to a floating-point type and vice
versa get a 'maybe troublesome' warning now.  The previous assumption
that all types of the same bit-size are convertible may have been valid
from a technical point of view, but still such code should get more
attention.

The rules for struct and union types could be made more fine-grained
later, if the need arises.  To suppress this warning, it's always
possible to cast to an intermediate 'void *'.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Jul 8 09:35:35 2023 UTC (18 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -11 lines
lint: clarify the meaning of 'portable size in bits' of a type

No functional change.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Jul 3 07:03:19 2023 UTC (18 months, 3 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -4 lines
lint: rename uppercase QUAD to LLONG

No binary change.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Jun 29 10:31:32 2023 UTC (18 months, 4 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +9 -29 lines
lint: clean up initialization of type properties

No functional change.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Jun 9 13:03:49 2023 UTC (19 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
lint: indent local variables consistently

No binary change.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon May 22 12:55:04 2023 UTC (20 months ago) by rillig
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +5 -5 lines
lint: rename constant NOTSPEC to NO_TSPEC

It was too easy to misread the old name as NOT_SPEC instead of the
intended NO_TSPEC.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Nov 30 20:50:22 2022 UTC (2 years, 1 month ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-1-RELEASE, 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.32: preferred, colored
Changes since revision 1.32: +48 -62 lines
lint: make definitions of basic types simpler

No binary change.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Jul 8 21:19:06 2022 UTC (2 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -2 lines
lint: fix edge cases in the query for redundant cast before assignment

Casting from and to _Bool is only allowed outside strict bool mode.
Outside strict bool mode, _Bool is an integer type, therefore return
early if any of the operands has type _Bool.  In strict bool mode, even
casting from _Bool to _Bool is not allowed, as it is not needed in
practice.

Handle _Complex types before real floating-point types.  Return early
for _Complex types, as these are floating-point types as well.

For pointer casts, not only flag casts to or from 'pointer to void', but
also casts between the same types.

In debug mode, when constructing the type '_Complex float', the type
name of '_Complex' occurs in the debug log.  Outside of debug mode,
printing this type name is an error since this type keyword only occurs
internally, when constructing a type.  At that point, it is not supposed
to occur in any user-visible message.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri May 20 21:18:54 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
lint: use __RCSID in lint mode as well

Since 1995-10-02, lint supports __asm statements and __asm modifiers.

No binary change.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Sep 5 18:17:15 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +17 -2 lines
lint: hide irrelevant type information from lint2

No functional change.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Sep 4 15:39:41 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +70 -81 lines
lint: make initialization of the basic types table simpler

No functional change.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Sep 4 14:07:51 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +9 -9 lines
lint: remove _Complex from tspec_name

That type is only used in the parser; the expression trees use FCOMPLEX,
DCOMPLEX or LCOMPLEX instead.

Sort the typeinfo definitions according to their order in tspec_t.  Do
not add _Complex there since it is not needed.  This means that NOTSPEC
and COMPLEX would both trigger an internal error.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Sep 4 10:26:44 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -5 lines
lint: remove unnecessary includes

The type definitions used to depend on the host's platform
characteristics once, which required <limits.h>.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Aug 28 13:02:25 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +7 -7 lines
lint: fix lint warning about initializing with negative number

No functional change.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Aug 22 14:50:06 2021 UTC (3 years, 5 months ago) by rillig
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +7 -3 lines
lint: remove Tflag and pflag from common declarations

These flags are only needed by lint1 and lint2, but not by the driver
xlint.

No functional change.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Jun 30 10:56:24 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -8 lines
lint: fix bit-size of long double _Complex in portable mode

C99 6.2.5p13 says that LCOMPLEX has the same representation and
alignment requirements as an array type containing exactly two LDOUBLE.

When support for _Complex was added to lint in inittyp.c 1.10 from
2008-09-27, there was no explanation for making the bit-size of LCOMPLEX
different from what C99 says, so it was probably a mistake that went
unnoticed for more than 12 years.  It's an edge case anyway.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Jun 29 21:33:09 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -3 lines
lint: fix wrong warning about out-of-range value '\xff' for char

This only affects platforms where char has the same representation as
unsigned char.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Mar 27 11:08:00 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
lint: remove space between 'sizeof ('

No functional change.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Mar 20 18:59:00 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +78 -94 lines
lint: use macro for encoding type information

In lint's strict bool mode, initialization must be of the correct type.
This affects the bool fields in ttab_t, which are initialized with int.
To keep the code brief, preserve these ints and let a macro do the
actual work of converting them to bool.

No change to the generated binary.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Feb 28 18:51:51 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -5 lines
lint: rename members and access macros of the basic types

Having the measurement unit in the variable name prevents accidental
confusion between bits and bytes, especially since usually the word
'size' means the size in bytes, while 'width' means the size in bits, at
least for integer types.

No functional change.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Feb 20 19:10:37 2021 UTC (3 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
lint: fix lint warnings

No functional change.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jan 24 14:47:43 2021 UTC (4 years ago) by rillig
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -7 lines
lint: reduce preprocessor magic for platform target types

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Jan 17 13:50:32 2021 UTC (4 years ago) by rillig
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +7 -2 lines
lint: in strict bool mode, don't treat bool as arithmetic type

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Jan 9 14:10:15 2021 UTC (4 years ago) by rillig
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +27 -23 lines
lint: make target platform independent of host platform

If lint is run on a platform that has CHAR_BIT == 10, this doesn't
magically make an ILP32 platform have 40 bits per uint32_t.

At the moment, all of the supported platforms are either ILP32 or
I32LP64 anyway, and all of them have CHAR_BIT == 8 == CHAR_SIZE,
so nothing changes practically.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jan 4 01:12:20 2021 UTC (4 years ago) by rillig
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
lint: revert previous commit, except for the typo

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jan 4 01:11:01 2021 UTC (4 years ago) by rillig
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4 lines
lint: fix typo in comment

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Dec 30 11:39:55 2020 UTC (4 years ago) by rillig
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
lint: inline STRUCT_ASSIGN

This had only been necessary for some pre-C90 compilers.

Revision 1.11.46.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:26 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +11 -2 lines
Sync with HEAD

Revision 1.11.44.1: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:59 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +11 -2 lines
Ssync with HEAD

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Sep 7 15:16:15 2018 UTC (6 years, 4 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, netbsd-9-base, netbsd-9-4-RELEASE, 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, is-mlppp-base, is-mlppp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +11 -2 lines
recognize int128

Revision 1.10.6.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:20:13 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +3 -3 lines
Sync with HEAD.

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

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Apr 15 01:20:57 2009 UTC (15 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, 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, 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-base, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-3-RELEASE, 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, 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-premerge-20091211, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, localcount-20160914, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Lukemify (WARNS=4)

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Sep 26 22:52:24 2008 UTC (16 years, 4 months ago) by matt
Branches: MAIN
CVS tags: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -2 lines
Teach lint about long double _Complex (C99)

Revision 1.8.10.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:36:11 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +32 -26 lines
sync with head.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Apr 25 22:18:34 2008 UTC (16 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, hpcarm-cleanup-nbase
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +32 -26 lines
preliminary _Complex support.
NB: Does not really understand type conversions between complex and doubles.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Feb 7 14:20:58 2007 UTC (17 years, 11 months ago) by hubertf
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-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-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -3 lines
Remove unused ctype.h header.
Contributed by Slava Semushin <slava.semushin@gmail.com> in private mail.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Sep 12 08:58:52 2004 UTC (20 years, 4 months ago) by yamt
Branches: 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, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -2 lines
recognize _Bool.

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Tue Jun 22 07:18:25 2004 UTC (20 years, 7 months ago) by tron
Branches: netbsd-2-0
CVS tags: 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-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
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +6 -2 lines
Pull up revision 1.6 (requested by jmc in ticket #527):
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jun 20 22:20:16 2004 UTC (20 years, 7 months ago) by jmc
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -2 lines
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu May 29 18:12:17 2003 UTC (21 years, 8 months ago) by christos
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +10 -4 lines
- make all targparam.h files consistent with the arch includes
- add a new INTPTR_IS_LONG define and use it.

- XXX: the PTRDIFF, SIZEOF, INTPTR defines really make lint more relaxed
  in some platforms than others. We should really be looking for the
  particular tokens to enable this kind of checking. I.e.
  now:

	char *p;
	int foo = (int)p;

  does not produce a warning on INTPTR_IS_LONG == 0 platformas.
  In reality it should only elide the warning if:

	char *p;
	int foo = (intptr_t)p;

  but it is not that smart (yet).

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jan 31 19:36:53 2002 UTC (23 years ago) by tv
Branches: 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, fvdl_fs64_base
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Protect __RCSID and __COPYRIGHT from being invoked if not defined.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jan 30 06:55:02 2002 UTC (23 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -6 lines
Define FLOAT_SIZE, DOUBLE_SIZE, LDOUBLE_SIZE, and ENUM_SIZE in
target-specific headers, and use the definitions when initializing
the type table.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jan 21 19:49:51 2002 UTC (23 years ago) by tv
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -4 lines
Add hooks for compiling on non-NetBSD hosts.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jan 18 21:01:38 2002 UTC (23 years ago) by thorpej
Branches: MAIN
Centralize the initialization/declaration of the ttab.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>