[Pkg-samba-maint] Bug#703551: Inconsistent use of _GNU_SOURCE

Michael Tautschnig mt at debian.org
Wed Mar 20 18:59:32 UTC 2013


Package: ctdb
Version: 1.12+git20120201-3
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 config.h, which, however, is not included in all
source files (or not included before any system headers are expanded).

In particular, it is missing from libctdb/ctdb.c, which doesn't include
includes.h, as other files do.

As a result, system headers expand to conflicting declarations. (This was at
least noticed for the connect function, but may extend to others.)

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-samba-maint/attachments/20130320/d3195c21/attachment.pgp>


More information about the Pkg-samba-maint mailing list