|
Re: Preprocessing error , need help: msg#00010programming.splint.general
Thanks for your help, now I solved the problem about include head file, but I got the error I still can't find a solution. $ splint -I/home/alex/svn/prj6_ha2/branches/module/ha_code/contrib/grm/ -I/home/alex/svn/prj6_ha2/trunk/module/heartbeat/libltdl -I/home/alex/svn/prj6_ha2/branches/module/heartbeat/linux-ha/ -I/usr/include/glib- 2.0/ -I/home/alex/svn/prj6_ha2/branches/module/heartbeat/include/ -I/home/alex/svn/prj6_ha2/branches/module/heartbeat/contrib/nrm/ +posixlib -preproc nrmd.c Splint 3.1.1 --- 22 Aug 2006 /usr/include/arpa/inet.h:35:27 : Parse Error. (For help on parse errors, see splint -help parseerrors.) *** Cannot continue. so , I run: $ cat -n /usr/include/arpa/inet.h | grep -3 35 32 33 /* Convert Internet host address from numbers-and-dots notation in CP 34 into binary data in network byte order. */ 35 extern in_addr_t inet_addr (__const char *__cp) __THROW; 36 37 /* Return the local host address part of the Internet address in IN. */ 38 extern in_addr_t inet_lnaof (struct in_addr __in) __THROW; I don't know why paser error at line 35, so ......:-) best regard! 2006/8/25, Ludolf Holzheid <
lholzheid@xxxxxxxxxxxxxxxxx>: On Thu, 2006-08-24 10:37:17 +0800, jiping shao wrote: _______________________________________________ splint-discuss mailing list splint-discuss-Y5+ky9gHf7K61byRX2g7jjevRRvlBcP1@xxxxxxxxxxxxxxxx http://www.cs.Virginia.EDU/mailman-2.1.5/listinfo/splint-discuss |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Preprocessing error , need help: 00010, Ludolf Holzheid |
|---|---|
| Next by Date: | Re: Unrecognized macros like "timerisset" "timercmp": 00010, raymond |
| Previous by Thread: | Re: Preprocessing error , need helpi: 00010, Ludolf Holzheid |
| Next by Thread: | Re: Preprocessing error , need help: 00010, Ludolf Holzheid |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |