[splint-discuss] Parse error with pthread

Sekuri, Yaminikrishna (GE Consumer & Industrial) yaminikrishna.sekuri at ge.com
Tue Aug 3 05:05:30 EDT 2004


Hi All,

I am using SPLINT to check my code for ANSI compliance.
I get the Parser error with respect to pthreads.
My source code file source.c includes a file xyz.h which in turn has pthread_t structure and a function which return this structure.

When I try doing ./splint source.c,
I get the following parse error:
   In file included from source.c:45
/usr/include/bits/pthreadtypes.h:48:9:
    Parse Error. (For help on parse errors, see splint -help parseerrors.)
*** Cannot continue.

Can anyone suggest what has to be done to overcome this parse error.

Thanks & Regards,
Yamini




More information about the splint-discuss mailing list