[apparmor] Fwd: Bug#756807: apparmor: FTBFS with clang instead of gcc

Seth Arnold seth.arnold at canonical.com
Fri Aug 29 19:02:29 UTC 2014


On Thu, Aug 28, 2014 at 05:37:45PM -0700, intrigeri wrote:
> Hi,
> 
> here's a bug that was reported on Debian. I guess that's an upstream
> issue. I've not checked if the problem and/or patch applies to the
> 2.9.x series.
> 

Interesting reading, I hadn't heard this before:

    In C99, inline means that a function's definition is provided only
    for inlining, and that there is another definition (without inline)
    somewhere else in the program.

http://clang.llvm.org/compatibility.html#inline

I'm sure this is causing someone somewhere in the world to go crazy
wondering why their code doesn't work as they expect...

In my trunk checkout, for the symbols that still exist, I didn't see any
uses of them outside the named file, so a similar patch should do the job.

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140829/c84d5ca6/attachment.pgp>


More information about the AppArmor mailing list