On Wed, 2011-04-13 at 21:59 +0800, Asias He wrote: > On 04/13/2011 09:49 PM, Pekka Enberg wrote: > > On Wed, 13 Apr 2011, Sasha Levin wrote: > >> Use ioctls to assign IP address and bring interface up instead of > >> using ifconfig. > >> > >> Signed-off-by: Sasha Levin <levinsasha928@xxxxxxxxx> > > > > I'm seeing this: > > > > penberg@tiger:~/linux/tools/kvm$ make > > GEN include/common-cmds.h > > CC 8250-serial.o > > CC virtio-blk.o > > CC virtio-net.o > > cc1: warnings being treated as errors > > virtio-net.c: In function âvirtio_net__initâ: > > virtio-net.c:302: error: dereferencing pointer â({anonymous})â does > > break strict-aliasing rules > > virtio-net.c:302: note: initialized from here > > make: *** [virtio-net.o] Error 1 > > Hi, Pekka > > I am wondering why is your gcc always stricter than mine? I have gcc 4.4.3 here. I wouldn't be surprised if those were actually gcc bugs but and that we should turn off the aliasing checks. However, for this particular case, it was pretty good at spotting questionable code so... :-) Pekka -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html