For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > October 2006 > stuck with SPLINT









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author stuck with SPLINT
Roman Mashak

2006-10-23, 8:00 am

Hello,

I have a simple code on RedHat 8.0 which includes <netinet/ip.h>. And splint
chokes on the including line:

%splint +posixlib t.c
Splint 3.0.1.6 --- 27 May 2002

usr/include/netinet/ip.h:31:13: Parse Error. (For help on parse errors, see
splint -help parseerrors.)
*** Cannot continue.

The line 'splint' stuck on is:

u_int8_t len;

I followed instructions from 'splint -help parseerrors' and enclosed the
code as follows:

@-skipposixheaders@
#include <netinet/ip.h>
@=skipposixheaders@

but it didn't help. What's the reason of such behavior and how to proceed?
Thanks in advance.

With best regards, Roman Mashak. E-mail: mrv@tusur.ru


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com