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

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



From: "Zeeshan Ali (Khattak)" <zeeshanak 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"
 
 
     # g_clear_object & G_ATOMIC_OP_USE_GCC_BUILTINS causes
-- 
1.7.7.6


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