[apparmor] Fwd: Bug#756807: apparmor: FTBFS with clang instead of gcc
Steve Beattie
steve at nxnw.org
Fri Aug 29 20:24:10 UTC 2014
On Fri, Aug 29, 2014 at 12:15:29PM -0700, Seth Arnold wrote:
> This patch adds 'static' to all inlined functions in the
> parser_interface.c file to address Debian bug 756807.
>
> The parser still passed 'make check' when compiled with gcc. I haven't
> compiled the package with clang to ensure that this is sufficient.
>
> Signed-off-by: Seth Arnold <seth.arnold at canonical.com>
Acked-by: Steve Beattie <steve at nxnw.org>
Though the change is less of an issue for trunk, presumably because the
compiler is invoked with the gnu++0x standard. It does let clang warn
that sd_write_uint8, sd_write_blob, sd_write_list, and sd_write_listend
are all unused functions currently.
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140829/14ded6ea/attachment-0001.pgp>
More information about the AppArmor
mailing list