Package: splint

Hi,

splint fails over unistd.h on Debian Squeeze. It gives the following
error message when ran with +posixlib or +unixlib:

Splint 3.1.2 --- 20 Feb 2009

/usr/include/bits/confname.h:31:27: *** Internal Bug at cscannerHelp.c:2428:
    Unexpanded macro not function or constant: int _PC_MAX_CANON [errno: 25]
     *** Please report bug to sub...@bugs.debian.org (via reportbug) ***
       (attempting to continue, results may be incorrect)
/usr/include/bits/confname.h:32:1: Parse Error: Non-function declaration:
    _PC_MAX_CANON : int. (For help on parse errors, see splint -help
    parseerrors.)
*** Cannot continue.


the code is just any code that #includes <unistd.h>. It runs fine with
-warnposix, but that's just a workaround.

-- 
Pippijn van Steenhoven

Attachment: signature.asc
Description: Digital signature

Reply via email to