
On Mon, Dec 05, 2011 at 09:25:40AM -0700, Eric Blake wrote:
On 12/04/2011 02:26 AM, Peter Krempa wrote:
I tried building rc2 on my macbook and build was successful, but I've got a warning on each file built:
cc1: warning: command line option "-Wabi" is valid for C++/ObjC++ but not for C cc1: warning: command line option "-Wdeprecated" is valid for C++/ObjC++ but not for C
This is a known (and harmless) issue with the gnulib 'manywarnings' module, and only triggers with older versions of gcc. It will probably be resolved in gnulib in time for libvirt 0.9.9, but I don't see us doing anything about it for now (if you don't want the warning, then don't use --enable-compile-warnings with ./autogen.sh or ./configure).
Can we workaround it by adding dontwarn="$dontwarn -Wabi" dontwarn="$dontwarn -Wdeprecated" to our m4 config, until such time as we rebase gnulib ? 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 :|