bug-gnulib
[Top][All Lists]
Advanced

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

FYI misc compile warnings on Mingw32


From: Daniel P. Berrange
Subject: FYI misc compile warnings on Mingw32
Date: Wed, 11 Jan 2012 14:05:49 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

On a Fedora 16 host, with GCC  4.6.1 cross compiled for Mingw32:

  gcc version 4.6.1 20110627 (Fedora MinGW 4.6.1-3.fc16) (GCC) 

And GNULIB synced to

  commit 557f8d27ac9cfd41bf944eb883a1e8a10812603a
  Author: Bruno Haible <address@hidden>
  Date:   Tue Jan 10 22:28:30 2012 +0100

    regex: Avoid link error on MSVC 9.

I get the following compiler warnings from GNULIB:

  In file included from inet_ntop.c:41:0:
  ./arpa/inet.h: In function 'inet_ntop':
  inet_ntop.c:193:27: warning: 'best.len' may be used uninitialized in this 
function [-Wuninitialized]
  inet_ntop.c:158:5: note: 'best.len' was declared here
  strptime.c: In function '__strptime_internal':
  strptime.c:680:18: warning: variable 'neg' set but not used 
[-Wunused-but-set-variable]
  strptime.c:259:21: warning: variable 'era' set but not used 
[-Wunused-but-set-variable]
  strptime.c:245:15: warning: variable 'rp_backup' set but not used 
[-Wunused-but-set-variable]
  vasnprintf.c: In function 'vasnprintf':
  vasnprintf.c:4612:21: warning: variable 'has_width' set but not used 
[-Wunused-but-set-variable]

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|



reply via email to

[Prev in Thread] Current Thread [Next in Thread]