[libvirt] [libvirt-glib 1/3] Tell CC to ignore unused macros

Daniel P. Berrange berrange at redhat.com
Thu Feb 16 17:36:56 UTC 2012


On Thu, Feb 16, 2012 at 05:49:46PM +0200, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
> 
> ---
>  m4/virt-compile-warnings.m4 |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/m4/virt-compile-warnings.m4 b/m4/virt-compile-warnings.m4
> index 6659568..de542cc 100644
> --- a/m4/virt-compile-warnings.m4
> +++ b/m4/virt-compile-warnings.m4
> @@ -39,6 +39,8 @@ AC_DEFUN([LIBVIRT_GLIB_COMPILE_WARNINGS],[
>      dontwarn="$dontwarn -Wdeclaration-after-statement"
>      # Using long long is fine
>      dontwarn="$dontwarn -Wlong-long"
> +    # Unused macros are ok
> +    dontwarn="$dontwarn -Wunused-macros"

ACK

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 :|




More information about the libvir-list mailing list