1. 29 7月, 2011 34 次提交
  2. 26 7月, 2011 1 次提交
  3. 25 7月, 2011 2 次提交
    • B
      simpletrace: suppress a warning from unused variable · 0caf448b
      Blue Swirl 提交于
      Avoid this warning:
        CC    simpletrace.o
      /src/qemu/simpletrace.c: In function 'writeout_thread':
      /src/qemu/simpletrace.c:122:12: error: variable 'unused' set but not used [-Werror=unused-but-set-variable]
      by adding GCC attribute unused to the variable.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      0caf448b
    • B
      Wrap recv to avoid warnings · 00aa0040
      Blue Swirl 提交于
      Avoid warnings like these by wrapping recv():
        CC    slirp/ip_icmp.o
      /src/qemu/slirp/ip_icmp.c: In function 'icmp_receive':
      /src/qemu/slirp/ip_icmp.c:418:5: error: passing argument 2 of 'recv' from incompatible pointer type [-Werror]
      /usr/local/lib/gcc/i686-mingw32msvc/4.6.0/../../../../i686-mingw32msvc/include/winsock2.h:547:32: note: expected 'char *' but argument is of type 'struct icmp *'
      
      Remove also casts used to avoid warnings.
      Reviewed-by: NAnthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      00aa0040
  4. 24 7月, 2011 3 次提交