Page MenuHome GnuPG

warning: implicit declaration of function
Closed, ResolvedPublic

Description

/usr/local/bin/clang -I. -DBUILD_GENTOOLS -o asn1-gentables \

		./asn1-gentables.c \
                `test -f 'asn1-parse.c' || echo './'`asn1-parse.c  \
                ./asn1-func.c      \
                ./gen-help.c

./asn1-gentables.c:283:8: warning: implicit declaration of function

    'ksba_asn_parse_file' is invalid in C99 [-Wimplicit-function-declaration]
rc = ksba_asn_parse_file (fname, &tree, check_only);
     ^

./asn1-gentables.c:289:9: warning: implicit declaration of function

'ksba_asn_tree_dump' is invalid in C99 [-Wimplicit-function-declaration]
  ksba_asn_tree_dump (tree, dump_only==2? "<":NULL, fp);
  ^

2 warnings generated.
make all-am
make[3]: Entering directory `/home/gpg-user/gcrypt-2.0-sanitize/libksba-1.3.2/src'


LIBRARY=libksba
VERSION=1.3.2
FILE="$LIBRARY-$VERSION"
export PREFIX=~/gpg-sanitize

echo "************"
echo "Building static $FILE..."
echo "************"

cd "$FILE"
./configure --enable-static --disable-shared
--with-libgpg-error-prefix="$PREFIX" --prefix="$PREFIX"
make

Details

Version
1.3.2

Event Timeline

JW set Version to 1.3.2.
JW added a subscriber: JW.
werner claimed this task.
werner added a project: Not A Bug.

No c+p of warnings please! Use gnupg-devel instead.