implicit declaration of function 'scm_c_issue_deprecation_warning'

Simon Josefsson simon at josefsson.org
Sun Jan 8 13:30:25 CET 2012


Ludo, do you have any idea?  By the function name, it looks like this
was somehow intended, but I'm not sure what the origin of the problem
is.  Maybe the guile stuff still use the non-string based priority
functions?

/Simon

Andreas Metzler <ametzler at downhill.at.eu.org> writes:

> Hello,
>
> 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




More information about the Gnutls-devel mailing list