# Bcc: control
severity 476228 important
merge 476228 473595
thanks

On 08/04/15 10:05 +0200, Michal Čihař said ...
> I decided to check a bit Gammu sources with splint, but unfortunately 
> first file I tried ended with this error:
> 
> /usr/include/bits/confname.h:31:27: *** Internal Bug at cscannerHelp.c:2428:

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.

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.

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

Giridhar

-- 
Y Giridhar Appaji Nag | http://www.appaji.net/

Attachment: signature.asc
Description: Digital signature

Reply via email to