Hi

On Tue, 15 Apr 2008 14:06:37 +0530
Y Giridhar Appaji Nag <[EMAIL PROTECTED]> wrote:

> confname.h comes from unistd.h and including unistd.h triggers this
> internal error in splint.  Though you did not indicate this in the bug
> report, I am certain you are also using +posixstrictlib or +posixlib in
> the options to splint.

Yes, it was +posixlib.

> Unfortunately, the only workaround that I know of which works well is to
> use the -warnposix flag, please do let me know how that works for Gammu.

Well I'm still experimenting with splint on Gammu, because it shows too
much warnings anyway ;-).

> Alternatively if checking for posix is important for you, please try and
> protect inclusions of unistd.h like this:
> 
> #ifndef S_SPLINT_S
> #include <unistd.h>
> #endif

That pollutes code, but I can try this...

-- 
        Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature

Reply via email to