Bug#703547: Inconsistent use of _GNU_SOURCE

2016-09-02 Thread Alexander Sack
tags 703547 + wontfix
thanks

Hi Michael,

(careful: old bug pong :))...

I just checked and saw it is still an issue upstream.

Since we don't see any problems in debian, I wonder if you would be
willing to consider working with upstream on their mailing list to get
this issue in your preferred way? I would prefer to not carry a patch
forever in debian that does not affect debian builders etc..

That said, if you do that and would also like to have this patched
earlier in debian please provide me with the patch you propose, remove
the wontfix tag on this bug and I will work on getting this into sid
for you.

Let me know,

 - Alexander



Bug#703547: Inconsistent use of _GNU_SOURCE

2013-03-20 Thread Michael Tautschnig
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



pgpHX6TpZvVHH.pgp
Description: PGP signature