implicit declaration of function 'scm_c_issue_deprecation_warning'

Andreas Metzler ametzler at
Sat Dec 17 16:05:55 CET 2011


building 3.0.x triggers an implicit-function-declaration warning in
the guile code. (The respective warning is present in 3.0.0 to 3.0.9)

make[5]: Entering directory `/tmp/GNUTLS/gnutls-3.0.9/guile/src'
#       source='core.c' object='guile_gnutls_v_2_la-core.lo' libtool=yes 
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -I../../lib/includes -I../../lib/includes -I../../extra/includes -I../.. -I.  -Wno-strict-prototypes  -I../../gl -I../../gl  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -c -o guile_gnutls_v_2_la-core.lo `test -f 'core.c' || echo './'`core.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../lib/includes -I../../lib/includes -I../../extra/includes -I../.. -I. -Wno-strict-prototypes -I../../gl -I../../gl -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -c core.c  -fPIC -DPIC -o .libs/guile_gnutls_v_2_la-core.o
In file included from core.c:506:0:
priorities.i.c: In function 'scm_gnutls_set_session_cipher_priority_x':
priorities.i.c:11:3: warning: implicit declaration of function 'scm_c_issue_deprecation_warning' [-Wimplicit-function-declaration]

cu andreas
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

More information about the Gnutls-devel mailing list