wiz
c6f1277bfa
synchronous, not syncronous.
2003-01-06 13:10:25 +00:00
thorpej
8fb0e9f9e9
Include <string.h> for prototypes.
2002-12-06 03:27:39 +00:00
thorpej
7d013a7ef5
Skip passing -$ to the preprocessor, for now.
2002-11-24 20:24:54 +00:00
christos
67dc335c98
PR/18896: Jason Thorpe: C99 structure member initializers broken for arrays.
...
XXX: The checking done does not work, but the code passes.
2002-11-13 21:50:57 +00:00
perry
5f042d3d69
add a comment on c99ism noting that the logic might be wrong but we
...
haven't yet decided on what combinations of -s and -S really are
intended to mean yet.
2002-11-02 20:14:10 +00:00
perry
22f5530a1a
Make long long a c99ism, not a gnuism.
2002-11-02 20:10:16 +00:00
perry
cca1626bfa
add c99ism(), by analogy to gnuism(), for c99 construct (un)warnings
2002-11-02 20:09:27 +00:00
perry
ab74747a8d
1) // is only for c99 or gcc
...
2) inline is acceptable in c99 -- create a new c99 keyword class.
XXX The handling of sflag and Sflag is utterly bogus throughout this
pass. I think I have to make some adjustments.
2002-11-02 01:42:22 +00:00
christos
c7e6cd9edb
mention what is wrong with the ({}) productions.
2002-10-23 13:01:16 +00:00
christos
fa292fcfa7
forgot to commit those.
2002-10-23 00:36:36 +00:00
christos
5a3a9e9ea9
add support for ({}) gcc shit.
2002-10-22 22:50:11 +00:00
christos
899427c2e4
handle free-ing of temp symbols properly. Don't segv on bad node types.
2002-10-22 21:09:34 +00:00
christos
c5db62c0ef
add C9X/GCC compound literal expressions.
2002-10-22 18:15:00 +00:00
christos
8c326659c6
add variable array dimension.
2002-10-22 13:48:50 +00:00
christos
ff5be0fa49
handle gcc __FUNCTION__ and C9X __func__
2002-10-22 13:31:34 +00:00
christos
e6e5ec1d1b
fix spelling in comment.
2002-10-22 13:30:23 +00:00
christos
cb118faff0
a cast to a pointer is an l-value.
2002-10-22 00:25:29 +00:00
christos
718a2bccc8
handle cast in the rhs of a - op.
2002-10-22 00:06:46 +00:00
christos
49f5eb9bb9
Ignore cast size test in initializers; look at example in the comment.
...
Maybe there is a better way...
2002-10-21 22:48:13 +00:00
christos
18a706cc53
fix typo
2002-10-21 22:44:08 +00:00
christos
8638e1a5b8
add -S flag for c99 support.
2002-10-21 21:16:12 +00:00
christos
66cab14e3e
support for c99 style and gnu style structure and union named initializers.
2002-10-21 21:14:51 +00:00
wiz
44f2153f1e
Ispell. Begin new sentences on a new line.
2002-09-26 01:09:46 +00:00
lukem
5d4973fe97
makefile delint. use NETBSDSRCDIR as appropriate
2002-09-18 14:00:33 +00:00
christos
baa7f9f49e
Minimize diffs with my C99 capable version [this commit does not include
...
C99 support.
- turn lerror() into a macro so that the filename and the line number of the
error are printed before we abort.
- recurse in type printing to provide the proper type name.
2002-09-13 14:59:24 +00:00
grant
eda9e509bb
sweep of errx/warnx, remove unnecessary trailing \n
2002-07-20 08:40:16 +00:00
scw
caf50cac16
SH5 lint target params.
2002-07-11 18:55:13 +00:00
jmc
855a0649f3
Change xgetblk to detect cases where the requested size is more than mblklen.
...
(generally it's 20k). Adjust mblklen temporarily to the size of the block
required and allocate one. This avoids coredumps when mapping in identifiers
that have huge values. (In my example it was a char[] for a 640k pixmap).
2002-06-28 05:03:55 +00:00
simonb
4feaf5241d
Use findcc() from ../mkdep so ${CC} can contain multiple tokens instead
...
of trying to exec the whole contents of ${CC}.
2002-06-14 23:20:42 +00:00
wiz
8a965ad2f1
Remove some __STDC__ tests.
2002-06-13 23:00:16 +00:00
wiz
3bab7054f4
Remove some unnecessary Ns.
2002-06-13 22:59:02 +00:00
fredette
5b01583a40
Added hppa support to xlint.
2002-06-06 20:33:33 +00:00
tv
6057928f1a
Rename `basename' as `lbasename' so as not to confuse with the libgen.h
...
prototyped function of the same name.
2002-03-07 20:17:37 +00:00
tv
1d5b3f55ff
Revert previous; <inttypes.h> is auto-generated-empty now.
2002-03-07 19:19:14 +00:00
tv
37ef6828bc
Autoconf bracket #include <inttypes.h>.
2002-03-07 18:29:56 +00:00
thorpej
b6d2afdc45
Add constants that describe the target's max/min INT, UINT, LONG, ULONG,
...
QUAD, and UQUAD values.
2002-02-20 16:10:34 +00:00
thorpej
b02b24b1d7
Replace u_quad_t with uint64_t and quad_t with int64_t, and use
...
<inttypes.h> to get those type definitions. These types are more
portable, and a little more sane to do autoconf tests for.
2002-02-05 03:04:26 +00:00
thorpej
b985fb5f23
Need <bsd.own.mk> to use ${MACHINE_CPU}.
2002-02-04 08:37:37 +00:00
thorpej
a53ece1b64
On m68000, we need different target parameters than on m68k,
...
because "long double" is a different size on m68000.
2002-02-04 00:18:32 +00:00
lukem
9c3323249d
need -lm in the HOSTPROG case too...
2002-02-01 05:44:40 +00:00
ross
4ecd3ab001
now needs -lm for finite(3)
2002-02-01 01:32:20 +00:00
he
1bf20079aa
Typo correction.
2002-01-31 23:31:34 +00:00
tv
9fbd88883c
Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
...
round has been tested on Solaris/x86 and Linux hosts.
* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
tv
95407c5758
Use !finite() instead of isinf() in two places for better compatibility.
2002-01-31 22:30:20 +00:00
tv
76834aef57
Protect __RCSID and __COPYRIGHT from being invoked if not defined.
2002-01-31 19:36:47 +00:00
tv
6980d8094a
Use setprogname() in main().
2002-01-31 19:33:50 +00:00
tv
dd39a6001e
Provide a placebo default for ALIGN() for hosts which don't have this.
2002-01-31 19:33:27 +00:00
tv
084822fde7
* Use setprogname() in main().
...
* Don't grossly abuse getopt(); allow only -l and -L after filenames are
encountered, and do the parsing of these options manually.
2002-01-31 19:09:33 +00:00
thorpej
1e27695917
Define FLOAT_SIZE, DOUBLE_SIZE, LDOUBLE_SIZE, and ENUM_SIZE in
...
target-specific headers, and use the definitions when initializing
the type table.
2002-01-30 06:54:56 +00:00
thorpej
65260ae99b
Add a missing "static" on a function decl.
2002-01-30 06:48:32 +00:00