Re: lclint messages

Richard B. Johnson (root@chaos.analogic.com)
Wed, 31 Dec 1997 11:27:48 -0500 (EST)


On Wed, 31 Dec 1997, Guest wrote:

> Hello,
>
> Sysadmin on manjak.knm.org.pl has installed lclint,
> kernel 2.1.76 is used there. When I ran lclint on simple
> C program, lint told me:
>
> In file included from /usr/include/unistd.h:96,
> from daemon.c:8:
> [...]
> /usr/include/linux/byteorder/swab.h:96,34: Parse Error:
> Inconsistent function declaration: __const__ :
> extern ?. (For help on parse errors, see lclint -help parseerrors.)
> *** Cannot continue.
>
> Is there a bug or something ?
>
> Thanks in advance
>
You need to enable GNU extensions in lclint. Much of the Linux code
relies on GNU extensions (+gnuextensions).

`lclint -help flags full 2>foo` ; more foo

Cheers,
Dick Johnson
***** FILE SYSTEM MODIFIED *****
Penguin : Linux version 2.1.70 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.