[Pkg-clamav-devel] Bug#703538: Inconsistent use of _GNU_SOURCE

Michael Tautschnig mt at debian.org
Wed Mar 20 17:39:14 UTC 2013


Package: clamsmtp
Version: 1.10-11
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 common/smtppass.c, but not in any other file. As a
result, system headers expand to conflicting declarations. (This was at least
noticed for the getsockname and getpeername functions, but may extend to
others.)

Either all or no file should #define _GNU_SOURCE.

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-clamav-devel/attachments/20130320/a2ab60d0/attachment.pgp>


More information about the Pkg-clamav-devel mailing list