From: Rusty Russell Date: Fri, 27 Aug 2010 14:39:48 +0000 (-0600) Subject: lguest: clean up warnings in demonstration launcher. X-Git-Tag: v2.6.36-rc3~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f846619e7f875b0efa9853b1c821bbc756656d47;p=pandora-kernel.git lguest: clean up warnings in demonstration launcher. These days the headers we use are in glibc. If those are too old, you can add the -I lines to get the kernel headers. In file included from ../../include/linux/if_tun.h:19, from lguest.c:33: ../../include/linux/types.h:13:2: warning: #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" lguest.c: In function ‘setup_tun_net’: lguest.c:1456: warning: dereferencing pointer ‘sin’ does break strict-aliasing rules lguest.c:1457: warning: dereferencing pointer ‘sin’ does break strict-aliasing rules lguest.c:1450: note: initialized from here Signed-off-by: Rusty Russell --- Reading git-diff-tree failed