Package: connman
Version: 
Severity: minor
Usertags: goto-cc

While building the package using our research compiler infrastructure we noticed
conflicting types being used in the linked executable. This is due to
_GNU_SOURCE being defined in

./gdhcp/client.c
./tools/wispr.c
./tools/stats-tool.c
./tools/tap-test.c
./plugins/vpn.c
./plugins/tist.c
./src/stats.c
./src/timezone.c
./src/ntp.c
./src/resolver.c
./src/log.c
./src/inet.c
./src/rfkill.c

but not in any other file. As a result, system headers expand to conflicting
declarations. (This was at least noticed for the bind function, but may extend
to others.)

Either all or no file should #define _GNU_SOURCE. As the package uses
autoconf, it may be worth looking into the use of AC_GNU_SOURCE to fix this
properly.

Best,
Michael

Attachment: pgpHX6TpZvVHH.pgp
Description: PGP signature

Reply via email to