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

Re: [libvirt] Compiler warnings



On 10/17/2011 11:35 PM, Alex Jia wrote:
Hi all,
I meet the following compiler warnings today:
......
   CC     libvirt_util_la-buf.lo
util/buf.c: In function 'virBufferEscape':
util/buf.c:430: warning: logical '&&' with non-zero constant will always
evaluate as true [-Wlogical-op]
   CC     libvirt_util_la-command.lo
......
   CC     libvirt_lxc-buf.o
util/buf.c: In function 'virBufferEscape':
util/buf.c:430: warning: logical '&&' with non-zero constant will always
evaluate as true [-Wlogical-op]
   CC     libvirt_lxc-command.o
......

Has anybody the same experience?

I meet another warnings, but it does not break the buildings:

  CCLD   libvirt_driver_remote.la
  CCLD   libvirt.la
  CCLD   libvirt_test.la

*** Warning: Linking the shared library libvirt_test.la against the non-libtool
*** objects  probes.o is not portable!

*** Warning: Linking the shared library libvirt.la against the non-libtool
*** objects  probes.o is not portable!
  CCLD   libvirt-qemu.la
make[3]: Leaving directory `/home/wency/rpmbuild/BUILD/libvirt-0.9.6/src'

Thanks
Wen Congyang


Thanks,
Alex


--
libvir-list mailing list
libvir-list redhat com
https://www.redhat.com/mailman/listinfo/libvir-list



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