While performing a backport of apparmor 3 to kernel 3.4, I received the following error:
security/apparmor/lsm.c:1146:2: warning: initialization from incompatible pointer type
error, forbidden warning: lsm.c:1146
There was no more information. gcc didn't even print the erroneous line. The line in question was: