Bug#702367: Conflicting declarations of variable verbose

Michael Tautschnig mt at debian.org
Tue Mar 5 19:02:55 UTC 2013


Package: gnutls28
Version: 3.0.20-3
Usertags: goto-cc

While building the package using our research compiler infrastructure, which
also permits link-time type checking, we noticed the following conflicting
declarations:

./tls_test.c:63:unsigned int verbose = 0;
./serv.c:62:unsigned int verbose = 1;
./cli.c:73:unsigned int verbose = 0;
./ocsptool.c:46:unsigned int verbose = 0;

./tests.c:42:extern int verbose;
./common.c:42:extern int verbose;
./socket.c:43:extern unsigned int verbose;

As the extern variants will be linked against some of the above (in particular,
common.c an serv.c are linked), undefined values may occur.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnutls-maint/attachments/20130305/4f93a190/attachment.pgp>


More information about the Pkg-gnutls-maint mailing list