splint.sh

pennmush-1.8.3p3/utils/splint.sh · 462 B

From the archive pennmush-1.8.3p3.tar.gz

Download the archive   « Back to the archive contents

#!/bin/sh

# Wrapper script for checking Penn source with splint (http://www.splint.org)
# Run from within the source directory.

SFLAGS="-I.. -I../hdrs +posixlib -weak"

# Disable assorted spurious warnings
SFLAGS="$SFLAGS -nestcomment -fixedformalarray"
SFLAGS="$SFLAGS -predbool -retvalother -unrecog"

# Work around C99/GCC keywords splint doesn't understand
SFLAGS="$SFLAGS -D__restrict= -Drestrict="

echo "Using options: $SFLAGS"

exec splint $SFLAGS $* 

Site Stats

Snippets: 1791
Codebases: 571