Re: [PATCH 1/2] kvm tools: Set up tun interface using ioctls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
Best Regards,
Asias He
--
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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux