Inconsistent function decl.

2002-04-10 Thread Finny Merrill
socket.c:12:15: Parse Error: Inconsistent function declaration: fd_set : int. (For help on parse errors, see splint -help parseerrors.) the only thing ever declared fd_set is only declared once and isn't even a function! Help!

Preprocessing error

2002-04-10 Thread Finny Merrill
On many programs, splint gives me a preprocessing error, but doesn't tell me what it is.

Re: Inconsistent function decl.

2002-04-10 Thread David Evans
The problem is that fd_set is not a defined type in the ISO standard. You can use +unixlib to select the Unix library instead, which does define fd_set as a type. C parsing depends on knowing the difference between type names and other identifiers. --- Dave On Wed, 10 Apr 2002, Finny Merrill