Commit Graph

398 Commits

Author SHA1 Message Date
christos
34fd6c876e add __extension__ and typeof 2014-02-18 22:01:36 +00:00
christos
a675eb32ca __real__ and __imag__ produce lvalues 2014-02-18 20:43:36 +00:00
njoly
a935b103a7 Handle another declaration after statement case for lint in c99 mode.
Add the corresponding testcase.
2014-02-04 08:08:59 +00:00
christos
9db3fbf52f Checking _LP64 to determine the size of the built binary is just wrong. We
build n32 by default on mips64 now, we don't handle the compat build which
is n64. This is the same case for sparc64/sparc and amd64/i386 (lint does
not run in compat)
2014-01-24 00:17:33 +00:00
christos
3e99fec0fb empty init_decl {} is valid 2014-01-16 00:43:43 +00:00
christos
a54bed1665 downgrade illegal bitfield from error to warning so we can ignore it. 2013-12-15 03:43:37 +00:00
christos
8dda6b583e fix sequence point violations 2013-10-18 20:46:09 +00:00
matt
c9855651f8 Add stub port for evbcf which has enough to do a distribution build. 2013-07-18 22:08:59 +00:00
christos
05f0356f93 commit test 2013-05-10 15:41:44 +00:00
christos
386c53c1fd cvs test 2013-05-10 15:40:21 +00:00
christos
913c2b066a sort 2013-05-10 15:31:22 +00:00
christos
ba8c9169d1 make NOSTRICT behave the same a LINTED; use the new format. 2013-04-19 18:51:14 +00:00
christos
4d5c8627ad document LINTEDn 2013-04-19 18:46:50 +00:00
christos
32c6bb3802 Allow linted comments to take an argument that defines which error to suppress. 2013-04-19 17:43:05 +00:00
christos
c71dc22c13 obey constcond to !constcond 2013-03-02 21:25:12 +00:00
christos
47281a37ea rename enum_t to avoid rpc/types.h lossage. 2013-02-17 01:26:19 +00:00
matt
755e896fd8 Make mips64e[bl] check more generic. 2013-01-28 14:25:18 +00:00
christos
d28b45a4f8 better to print (null) than core-dump 2012-06-20 18:50:11 +00:00
christos
e0f6e43eb5 add __PRETTY_FUNCTION__ 2012-04-20 18:35:28 +00:00
macallan
1b769feadc XXX
Don't assume LP64 unless lint itself is built as LP64
On mips64 we default to n32 which produces errors when things like
TARG_LONG_MAX don't fit into a long
A proper fix would be to teach lint about different target ABIs so it can
pick the right parameters, this is just a bandaid to make it slightly less
wrong and allow a mips64 build to complete.
2012-03-29 08:52:31 +00:00
christos
52ec92ba25 more cross lint friendlyness
XXX: needs more constants converted double/float
2012-03-27 19:24:01 +00:00
christos
ca07e01a36 -0 is not unary overflow. 2012-03-21 14:17:22 +00:00
skrll
d6c003a8de Correct LDOUBLE_SIZE 2012-02-16 16:27:15 +00:00
christos
7ae009b5a7 fix the grammar conflict differently. 2011-12-25 20:11:22 +00:00
christos
8af1345344 correct debugging flags. 2011-12-25 01:05:44 +00:00
christos
1e73d755b4 PR/45666: Nicolas Joly: lint(1) wrong 'syntax error' message 2011-12-25 01:05:03 +00:00
njoly
def73a1f81 c99: do not warn about trailing comma in enum declaration. 2011-12-19 16:52:27 +00:00
mbalmer
2790b28f0e Fix typo in comment. 2011-10-17 16:31:14 +00:00
christos
c6a6b07331 Handle c99 declarations in the middle of blocks. 2011-10-04 16:19:59 +00:00
christos
0e4108c639 eat the last d in double constants. 2011-10-02 19:45:10 +00:00
njoly
7d41567535 Fix lseek(2) swapped arguments. 2011-09-18 09:07:35 +00:00
christos
bfb07aa1f2 Always use our own align macro and explain a bit more why this is bogus. 2011-06-24 01:10:31 +00:00
joerg
1e608ad53f Fix format string usage 2011-05-24 12:49:11 +00:00
wiz
610b889888 Sort options and option descriptions. Use more markup. 2011-04-29 09:23:29 +00:00
christos
b9eac88297 weprovidedarracount()sothatwedon'tneedtosqueezethespacesout. 2011-02-07 23:56:18 +00:00
christos
ce3fa327b8 provide __arraycount() if not there. 2011-02-07 00:26:27 +00:00
pooka
f5d3a9ff38 don't use __arraycount in tools 2011-02-06 23:03:02 +00:00
christos
27eb1769a9 use unsigned char instead of uint8_t, easier for portability 2011-02-06 18:28:22 +00:00
christos
6b997b11db better dependency handling 2011-02-05 19:13:48 +00:00
christos
4c07b5ae7d fix missing comparison 2011-02-05 19:10:40 +00:00
christos
8e14f999b7 copyright date 2011-02-05 17:29:48 +00:00
christos
76706b0082 as promised make the last ops table auto-generated. 2011-02-05 17:14:14 +00:00
christos
6dfaa18130 oops forgot to commit the script. 2011-02-05 16:10:17 +00:00
christos
c93e02df25 fix tools build. Why doesn't .PARSEDIR work? 2011-02-05 03:09:46 +00:00
christos
759a394557 generate ops table dynamically. Will move the other table from tree.c there
too.
2011-02-04 23:32:44 +00:00
christos
15f35154fe fix typo 2011-02-04 23:31:23 +00:00
matt
1d4bb1d8f6 Change mips64 to use a 16 byte long double. 2011-01-18 08:30:10 +00:00
christos
003dddff9d PR/44235: Valeriy E. Ushakov: Don't pick up a block from the free list if
it is not big enough, allocate a new one. XXX: this is inefficient, but at
least it does not end up corrupting memory.
2011-01-17 03:04:10 +00:00
christos
c732e7b752 PR/44235: Martin Husemann: Fix core dump due to memory corruption.
Found by Henning Petersen
2010-12-18 20:57:41 +00:00
wiz
3d3c5d42cb Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.
2010-12-16 17:42:25 +00:00