logo       

Re: Unrecognized macros like "timerisset" "timercmp": msg#00005

programming.splint.general

Subject: Re: Unrecognized macros like "timerisset" "timercmp"



On Mon, 2006-08-21 at 19:11 +0200, Ludolf Holzheid wrote:
> On Mon, 2006-08-21 10:13:24 +0800, raymond wrote:
> > [..]
> > Checking the code("timer.c") with splint, it output :
> >
> > Splint 3.1.1 --- 06 Jan 2006
> >
> > timer.h:20:59: Parse Error: Inconsistent function parameter
> > syntax:
> > suseconds_t : <any>. (For help on parse errors, see splint
> > -help
>
> I suppose suseconds_t is not visible in POSIX. You may try to use the
> unix library (splint +unixlib).
>
> HTH,
>
> Ludolf
>

Yes, I think so. But is there options just to parse all header files in
the analysis progress, because many projects not posix compatible but
using some lib of posix like "pthread".


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise